diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2004-08-23 18:39:52 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2004-08-23 18:39:52 +0000 |
commit | c6ed5a859983ca84f30f5002dd7fc32c32db7dbf (patch) | |
tree | 93584ebdd1c04223579dff9848891fcb6415959c | |
parent | 12618f5ff5286abab96d5e6751b8845c46b41598 (diff) | |
download | cygnal-c6ed5a859983ca84f30f5002dd7fc32c32db7dbf.tar.gz cygnal-c6ed5a859983ca84f30f5002dd7fc32c32db7dbf.tar.bz2 cygnal-c6ed5a859983ca84f30f5002dd7fc32c32db7dbf.zip |
2004-08-23 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/unistd.h (getpass): Change prototype to use
const instead of __const.
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/include/sys/unistd.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 066347acb..d5e7d1769 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -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 diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index 64b850973..46db13c27 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -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 )); |