summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/grp.h3
-rw-r--r--include/unistd.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/include/grp.h b/include/grp.h
index 9e5654a958d3..2e245d5afc04 100644
--- a/include/grp.h
+++ b/include/grp.h
@@ -36,6 +36,7 @@
* SUCH DAMAGE.
*
* @(#)grp.h 8.2 (Berkeley) 1/21/94
+ * $FreeBSD$
*/
#ifndef _GRP_H_
@@ -48,7 +49,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/unistd.h b/include/unistd.h
index bfad0f295a0c..37dab6712019 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -140,7 +140,7 @@ int ftruncate __P((int, off_t));
#endif
int getdomainname __P((char *, int));
int getdtablesize __P((void));
-int getgrouplist __P((const char *, int, int *, int *));
+int getgrouplist __P((const char *, gid_t, gid_t *, int *));
long gethostid __P((void));
int gethostname __P((char *, int));
int getlogin_r __P((char *, int));
@@ -154,7 +154,7 @@ int getresuid __P((uid_t *, uid_t *, uid_t *));
int getsid __P((pid_t _pid));
char *getusershell __P((void));
char *getwd __P((char *)); /* obsoleted by getcwd() */
-int initgroups __P((const char *, int));
+int initgroups __P((const char *, gid_t));
int iruserok __P((unsigned long, int, const char *, const char *));
int iruserok_sa __P((const void *, int, int, const char *, const char *));
int issetugid __P((void));