summaryrefslogtreecommitdiffstats
path: root/include/unistd.h
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2002-01-22 17:32:53 +0000
committermarkm <markm@FreeBSD.org>2002-01-22 17:32:53 +0000
commite2a2029185c199c7c68e39df67aa68b32137facc (patch)
tree4fa4107bd9dc143cbf75e44ad9d40c4184b8784e /include/unistd.h
parent83a72ec01c6326a9a3a9f6e66192863bcbd4b8e4 (diff)
downloadFreeBSD-src-e2a2029185c199c7c68e39df67aa68b32137facc.zip
FreeBSD-src-e2a2029185c199c7c68e39df67aa68b32137facc.tar.gz
Use the proper type (gid_t) for (group)->gr_gid to be orthogonal
with uid_t usage and (user)->pw_uid. PR: 3242
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/unistd.h b/include/unistd.h
index bfad0f2..37dab67 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));
OpenPOWER on IntegriCloud