Declare localeconv() in <locale.h>

The function is not implemented by our C library, but it is not
possible to build GNU libstdc++-v3 if the declaration is not part
of this header.

Change-Id: Iff6fa63465dde0d4e38c0f91709475bb35b31af9
This commit is contained in:
David 'Digit' Turner
2010-10-28 17:39:11 -07:00
parent 5a2fb6ce28
commit 10795d840b

View File

@@ -51,9 +51,8 @@ enum {
extern char *setlocale(int category, const char *locale); extern char *setlocale(int category, const char *locale);
/* Make libstdc++-v3 happy. */ #if 1 /* MISSING FROM BIONIC - DEFINED TO MAKE libstdc++-v3 happy */
struct lconv { }; struct lconv { };
#if 0 /* MISSING FROM BIONIC */
struct lconv *localeconv(void); struct lconv *localeconv(void);
#endif /* MISSING */ #endif /* MISSING */