Use int instead of gid_t and/or uid_t

This commit is contained in:
ceriel 1991-10-07 13:37:20 +00:00
parent 69ead2f15f
commit 8e9b398e9f
2 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@
struct group {
char *gr_name; /* the name of the group */
char *gr_passwd; /* the group passwd */
gid_t gr_gid; /* the numerical group ID */
int gr_gid; /* the numerical group ID */
char **gr_mem; /* a vector of pointers to the members */
};

View file

@ -9,8 +9,8 @@
struct passwd {
char *pw_name; /* login name */
uid_t pw_uid; /* uid corresponding to the name */
gid_t pw_gid; /* gid corresponding to the name */
int pw_uid; /* uid corresponding to the name */
int pw_gid; /* gid corresponding to the name */
char *pw_dir; /* user's home directory */
char *pw_shell; /* name of the user's shell */