This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Attached is a simple patch to avoid prototype warnings. Note that the same prototype is in 2 different files. I did not correct that in this patch, but a good question is how to. __locale_charset() is defined in libc/locale/locale.c. Both of these prototypes are in different directories. It would be the most work, but it seems like the best approach would be to create a local.h in locale that could be included in the ctype and stdlib local.h files. Thoughts? Craig * libc/ctype/local.h (__locale_charset): add arguments to prototype * libc/stdlib/local.h (__locale_charset): ditto
Attachment:
local.h.patch
Description: local.h.patch
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |