OSDN Git Service

2004-08-23 Jeff Johnston <jjohnstn@redhat.com>
authorjjohnstn <jjohnstn>
Mon, 23 Aug 2004 18:39:51 +0000 (18:39 +0000)
committerjjohnstn <jjohnstn>
Mon, 23 Aug 2004 18:39:51 +0000 (18:39 +0000)
        * libc/include/sys/unistd.h (getpass): Change prototype to use
        const instead of __const.

newlib/ChangeLog
newlib/libc/include/sys/unistd.h

index 066347a..d5e7d17 100644 (file)
@@ -1,3 +1,8 @@
+2004-08-23  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * libc/include/sys/unistd.h (getpass): Change prototype to use
+       const instead of __const.
+
 2004-08-16  Nathan Sidwell  <nathan@codesourcery.com>
 
        * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
index 64b8509..46db13c 100644 (file)
@@ -73,7 +73,7 @@ char    _EXFUN(*getlogin, (void ));
 #if defined(_POSIX_THREAD_SAFE_FUNCTIONS)
 int _EXFUN(getlogin_r, (char *name, size_t namesize) );
 #endif
-char   _EXFUN(*getpass, (__const char *__prompt));
+char   _EXFUN(*getpass, (const char *__prompt));
 size_t  _EXFUN(getpagesize, (void));
 pid_t   _EXFUN(getpgid, (pid_t));
 pid_t   _EXFUN(getpgrp, (void ));