libroot/locale: Consolidate some headers.
No behavioral change intended.
This commit is contained in:
+12
-3
@@ -2,8 +2,11 @@
|
||||
* Copyright 2010, Oliver Tappe, zooey@hirschkaefer.de.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _POSIX_CTYPE_H
|
||||
#define _POSIX_CTYPE_H
|
||||
#ifndef _LOCALE_DATA_H
|
||||
#define _LOCALE_DATA_H
|
||||
|
||||
|
||||
#include <locale.h>
|
||||
|
||||
|
||||
namespace BPrivate {
|
||||
@@ -22,9 +25,15 @@ extern const unsigned short gPosixClassInfo[384];
|
||||
extern const int gPosixToLowerMap[384];
|
||||
extern const int gPosixToUpperMap[384];
|
||||
|
||||
extern const char* gPosixLanginfo[];
|
||||
|
||||
extern const struct lc_time_t gPosixLCTimeInfo;
|
||||
|
||||
extern struct lconv gPosixLocaleConv;
|
||||
|
||||
|
||||
} // namespace Libroot
|
||||
} // namespace BPrivate
|
||||
|
||||
|
||||
#endif // _POSIX_CTYPE_H
|
||||
#endif // _LOCALE_DATA_H
|
||||
@@ -1,20 +0,0 @@
|
||||
/*
|
||||
* Copyright 2010, Oliver Tappe, [email protected].
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _POSIX_LANGINFO_H
|
||||
#define _POSIX_LANGINFO_H
|
||||
|
||||
|
||||
namespace BPrivate {
|
||||
namespace Libroot {
|
||||
|
||||
|
||||
extern const char* gPosixLanginfo[];
|
||||
|
||||
|
||||
} // namespace Libroot
|
||||
} // namespace BPrivate
|
||||
|
||||
|
||||
#endif // _POSIX_LANGINFO_H
|
||||
@@ -1,23 +0,0 @@
|
||||
/*
|
||||
* Copyright 2010, Oliver Tappe, [email protected].
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _POSIX_LOCALE_CONV_H
|
||||
#define _POSIX_LOCALE_CONV_H
|
||||
|
||||
|
||||
#include <locale.h>
|
||||
|
||||
|
||||
namespace BPrivate {
|
||||
namespace Libroot {
|
||||
|
||||
|
||||
extern struct lconv gPosixLocaleConv;
|
||||
|
||||
|
||||
} // namespace Libroot
|
||||
} // namespace BPrivate
|
||||
|
||||
|
||||
#endif // _POSIX_LOCALE_CONV_H
|
||||
@@ -1,23 +0,0 @@
|
||||
/*
|
||||
* Copyright 2010, Oliver Tappe, [email protected].
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _POSIX_LC_TIME_INFO_H
|
||||
#define _POSIX_LC_TIME_INFO_H
|
||||
|
||||
|
||||
#include <timelocal.h>
|
||||
|
||||
|
||||
namespace BPrivate {
|
||||
namespace Libroot {
|
||||
|
||||
|
||||
extern const struct lc_time_t gPosixLCTimeInfo;
|
||||
|
||||
|
||||
} // namespace Libroot
|
||||
} // namespace BPrivate
|
||||
|
||||
|
||||
#endif // _POSIX_LC_TIME_INFO_H
|
||||
Reference in New Issue
Block a user