From 78d9d533fd65d8f0b30475224c9cb25fb507b7e2 Mon Sep 17 00:00:00 2001 From: jjohnstn Date: Mon, 23 Aug 2004 18:39:51 +0000 Subject: [PATCH] 2004-08-23 Jeff Johnston * libc/include/sys/unistd.h (getpass): Change prototype to use const instead of __const. --- newlib/ChangeLog | 5 +++++ newlib/libc/include/sys/unistd.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 066347acb0..d5e7d17694 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 64b8509738..46db13c274 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 )); -- 2.11.0