summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-04-22 21:28:50 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-04-22 21:28:50 +0000
commit469208a7fe2524215aa183b6cece6e7d0373cec9 (patch)
treeb727081b85a603085bbddb24c239e92f09f70ea8 /include
parent2deb7e3d2736b666fbe1d81df229fd117a7b0d78 (diff)
Fix 2 things that should be gid_t. One from Oleg Safiullin, one from me...
Diffstat (limited to 'include')
-rw-r--r--include/grp.h4
-rw-r--r--include/pwd.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/grp.h b/include/grp.h
index 514a8bbafb1..580fefe2c51 100644
--- a/include/grp.h
+++ b/include/grp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: grp.h,v 1.4 2002/02/16 21:27:17 millert Exp $ */
+/* $OpenBSD: grp.h,v 1.5 2002/04/22 21:28:49 millert Exp $ */
/* $NetBSD: grp.h,v 1.7 1995/04/29 05:30:40 cgd Exp $ */
/*-
@@ -54,7 +54,7 @@
struct group {
char *gr_name; /* group name */
char *gr_passwd; /* group password */
- int gr_gid; /* group id */
+ gid_t gr_gid; /* group id */
char **gr_mem; /* group members */
};
diff --git a/include/pwd.h b/include/pwd.h
index 41c36179941..65fc56a01ee 100644
--- a/include/pwd.h
+++ b/include/pwd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pwd.h,v 1.13 2002/02/16 21:27:17 millert Exp $ */
+/* $OpenBSD: pwd.h,v 1.14 2002/04/22 21:28:49 millert Exp $ */
/* $NetBSD: pwd.h,v 1.9 1996/05/15 21:36:45 jtc Exp $ */
/*-
@@ -85,7 +85,7 @@ struct passwd {
char *pw_name; /* user name */
char *pw_passwd; /* encrypted password */
uid_t pw_uid; /* user uid */
- uid_t pw_gid; /* user gid */
+ gid_t pw_gid; /* user gid */
time_t pw_change; /* password change time */
char *pw_class; /* user access class */
char *pw_gecos; /* Honeywell login info */