diff options
Diffstat (limited to 'newlib/libc/include/pwd.h')
-rw-r--r-- | newlib/libc/include/pwd.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/newlib/libc/include/pwd.h b/newlib/libc/include/pwd.h index 1526abfb6..59d6ab555 100644 --- a/newlib/libc/include/pwd.h +++ b/newlib/libc/include/pwd.h @@ -50,15 +50,14 @@ extern "C" { struct passwd { char *pw_name; /* user name */ char *pw_passwd; /* encrypted password */ - uid_t pw_uid; /* user uid */ - gid_t pw_gid; /* user gid */ + int pw_uid; /* user uid */ + int pw_gid; /* user gid */ char *pw_comment; /* comment */ char *pw_gecos; /* Honeywell login info */ char *pw_dir; /* home directory */ char *pw_shell; /* default shell */ }; -#ifndef __INSIDE_CYGWIN__ struct passwd *getpwuid (uid_t); struct passwd *getpwnam (const char *); int getpwnam_r (const char *, struct passwd *, @@ -70,7 +69,6 @@ struct passwd *getpwent (void); void setpwent (void); void endpwent (void); #endif -#endif #ifdef __cplusplus } |