Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2004-08-23 22:39:52 +0400
committerJeff Johnston <jjohnstn@redhat.com>2004-08-23 22:39:52 +0400
commitc6ed5a859983ca84f30f5002dd7fc32c32db7dbf (patch)
tree93584ebdd1c04223579dff9848891fcb6415959c /newlib
parent12618f5ff5286abab96d5e6751b8845c46b41598 (diff)
2004-08-23 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/unistd.h (getpass): Change prototype to use const instead of __const.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/include/sys/unistd.h2
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 ));