This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: __const use instead of const in one place
- From: Jeff Johnston <jjohnstn at redhat dot com>
- To: newlib at sources dot redhat dot com
- Cc: cygwin at cygwin dot com
- Date: Mon, 23 Aug 2004 14:42:24 -0400
- Subject: Re: __const use instead of const in one place
- References: <s123778d.062@gateway.crch.hawaii.edu> <20040819084216.GB11034@cygbert.vinschen.de>
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.