diff options
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/include/pwd.h | 4 | ||||
-rw-r--r-- | newlib/libc/include/sys/time.h | 2 |
2 files changed, 3 insertions, 3 deletions
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)); |