]> git.saurik.com Git - apple/libc.git/blob - locale/FreeBSD/lmessages.h.patch
Libc-763.13.tar.gz
[apple/libc.git] / locale / FreeBSD / lmessages.h.patch
1 --- lmessages.h.orig 2009-11-09 15:05:25.000000000 -0800
2 +++ lmessages.h 2009-11-09 15:05:25.000000000 -0800
3 @@ -29,6 +29,8 @@
4 #ifndef _LMESSAGES_H_
5 #define _LMESSAGES_H_
6
7 +#include <xlocale.h>
8 +
9 struct lc_messages_T {
10 const char *yesexpr;
11 const char *noexpr;
12 @@ -36,7 +38,7 @@ struct lc_messages_T {
13 const char *nostr;
14 };
15
16 -struct lc_messages_T *__get_current_messages_locale(void);
17 -int __messages_load_locale(const char *);
18 +struct lc_messages_T *__get_current_messages_locale(locale_t);
19 +int __messages_load_locale(const char *, locale_t);
20
21 #endif /* !_LMESSAGES_H_ */