__const use instead of const in one place

Jeff Johnston jjohnstn@redhat.com
Mon Aug 23 19:06:00 GMT 2004


Corinna Vinschen wrote:
> On Aug 18 15:36, Peter Hinely wrote:
> 
>>Hi,
>>
>>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.
> 
> Corinna
>

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
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list