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 + + * libc/include/sys/unistd.h (getpass): Change prototype to use + const instead of __const. + 2004-08-16 Nathan Sidwell * 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 ));