Use int instead of gid_t and/or uid_t
authorceriel <none@none>
Mon, 7 Oct 1991 13:37:20 +0000 (13:37 +0000)
committerceriel <none@none>
Mon, 7 Oct 1991 13:37:20 +0000 (13:37 +0000)
include/_tail_cc/grp.h
include/_tail_cc/pwd.h

index dc7d25f..3899264 100644 (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 */
 };
 
index 7b27979..ea25227 100644 (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 */