Add sys/_locale.h header and fix up headers

Signed-off by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen
2016-07-25 11:47:36 +02:00
parent 91ebe04042
commit 7156bf842e
9 changed files with 47 additions and 22 deletions

View File

@ -31,9 +31,20 @@
#include <sys/cdefs.h>
#include <sys/types.h>
#if __POSIX_VISIBLE >= 200809
#include <sys/_locale.h>
#endif
__BEGIN_DECLS
ssize_t strfmon(char * __restrict, size_t, const char * __restrict, ...);
extern ssize_t strfmon (char * __restrict, size_t, const char * __restrict,
...);
#if __POSIX_VISIBLE >= 200809
extern ssize_t strfmon_l (char * __restrict, size_t, locale_t,
const char * __restrict, ...);
#endif
__END_DECLS
#endif /* !_MONETARY_H_ */