Use int instead of gid_t and/or uid_t
This commit is contained in:
parent
17dae849de
commit
2e16b73e07
@ -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…
x
Reference in New Issue
Block a user