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:
authorCorinna Vinschen <corinna@vinschen.de>2005-02-08 23:55:18 +0300
committerCorinna Vinschen <corinna@vinschen.de>2005-02-08 23:55:18 +0300
commit18d3a03bd4e998a54ad07b06d9b9f36de2c11315 (patch)
tree3aa1a3a1b56da97dfc5fc0681d648da0e13a5121 /newlib
parent1d7dd82d694755b854c500b1563287390149afc7 (diff)
* libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
members to uid_t and gid_t according to SUSv3. * libc/include/sys/time.h (utimes): Change second parameter to const according to SUSv3.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog7
-rw-r--r--newlib/libc/include/pwd.h4
-rw-r--r--newlib/libc/include/sys/time.h2
3 files changed, 10 insertions, 3 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index f97797f51..aca552fb7 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,10 @@
+2005-02-08 Corinna Vinschen <corinna@vinschen.de>
+
+ * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
+ members to uid_t and gid_t according to SUSv3.
+ * libc/include/sys/time.h (utimes): Change second parameter
+ to const according to SUSv3.
+
2005-02-07 Antony King <antony.king@st.com>
* libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
diff --git a/newlib/libc/include/pwd.h b/newlib/libc/include/pwd.h
index 27b21f877..1526abfb6 100644
--- a/newlib/libc/include/pwd.h
+++ b/newlib/libc/include/pwd.h
@@ -50,8 +50,8 @@ extern "C" {
struct passwd {
char *pw_name; /* user name */
char *pw_passwd; /* encrypted password */
- int pw_uid; /* user uid */
- int pw_gid; /* user gid */
+ uid_t pw_uid; /* user uid */
+ gid_t pw_gid; /* user gid */
char *pw_comment; /* comment */
char *pw_gecos; /* Honeywell login info */
char *pw_dir; /* home directory */
diff --git a/newlib/libc/include/sys/time.h b/newlib/libc/include/sys/time.h
index 20f2903c3..4771f5798 100644
--- a/newlib/libc/include/sys/time.h
+++ b/newlib/libc/include/sys/time.h
@@ -72,7 +72,7 @@ struct itimerval {
int _EXFUN(gettimeofday, (struct timeval *__p, struct timezone *__z));
int _EXFUN(settimeofday, (const struct timeval *, const struct timezone *));
-int _EXFUN(utimes, (const char *__path, struct timeval *__tvp));
+int _EXFUN(utimes, (const char *__path, const struct timeval *__tvp));
int _EXFUN(getitimer, (int __which, struct itimerval *__value));
int _EXFUN(setitimer, (int __which, const struct itimerval *__value,
struct itimerval *__ovalue));