This is the mail archive of the cygwin mailing list for the Cygwin 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]

Re: __const use instead of const in one place


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]