summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2012-12-06 19:48:14 +0100
committerrofl0r <retnyg@gmx.net>2012-12-06 20:27:54 +0100
commit6bf0fdbdfc994df4977d73782f2b81d2ba449e04 (patch)
tree3d1fd84a9993bce15d8c1522e8b6a77cdb50c48c
parentf1bb78343a2fadf7087f3f0f7753084a23a334e9 (diff)
downloadmusl-6bf0fdbdfc994df4977d73782f2b81d2ba449e04.tar.gz
musl-6bf0fdbdfc994df4977d73782f2b81d2ba449e04.tar.bz2
musl-6bf0fdbdfc994df4977d73782f2b81d2ba449e04.tar.xz
musl-6bf0fdbdfc994df4977d73782f2b81d2ba449e04.zip
unistd.h: fix wrong type for gid_t argument
the prototype is defined with const gid_t* rather than const gid_t[]. it was already correctly defined in grp.h.
-rw-r--r--include/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 2791c3de..64a6b461 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -168,7 +168,7 @@ int getdtablesize(void);
int sethostname(const char *, size_t);
int getdomainname(char *, size_t);
int setdomainname(const char *, size_t);
-int setgroups(size_t, const gid_t []);
+int setgroups(size_t, const gid_t *);
char *getpass(const char *);
int daemon(int, int);
void setusershell(void);