[haiku-development] wchar redundant redeclaration
- From: scott mc <scottmc2@xxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Sun, 8 Nov 2009 16:47:24 -0800
I just ran into this warning:
/boot/develop/headers/posix/wchar.h:117: warning: redundant
redeclaration of `wcstoul' in same scope
/boot/develop/headers/posix/wchar.h:115: warning: previous declaration
of `wcstoul'
And looking at wchar.h I see this:
115: extern unsigned long wcstoul(const wchar_t *, wchar_t **,
int);
116: extern unsigned long long wcstoull(const wchar_t *, wchar_t **, int);
117: extern unsigned long int wcstoul(const wchar_t *, wchar_t **, int);
question is, which one is right and which is wrong? Or is it intended
to have unsigned long and unsigned long int?
I'm assuming 117 is the wrong one
-scottmc
Other related posts: