This is the mail archive of the
mailing list for the Cygwin project.
Re: __const use instead of const in one place
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.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html