__const use instead of const in one place
Wed Aug 25 12:48:00 GMT 2004
Corinna Vinschen wrote:
> On Aug 18 15:36, Peter Hinely wrote:
>>I noticed that __const is used in one and only one place in the header files.
>>Line 76 of \user\include\sys\unistd.h
>>char _EXFUN(*getpass, (__const char *__prompt));
>>That's the only place in all the header files. Shouldn't it be changed to const?
> That's a newlib issue. I've redirected to the newlib mailing list.
A patch has just been checked in to make the getpass() prototype consistent with
other function prototypes.
-- Jeff J.
More information about the Newlib