Use int instead of gid_t and/or uid_t
This commit is contained in:
parent
69ead2f15f
commit
8e9b398e9f
|
@ -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 */
|
||||
};
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue