From: rofl0r Date: Thu, 6 Dec 2012 18:48:14 +0000 (+0100) Subject: unistd.h: fix wrong type for gid_t argument X-Git-Tag: v0.9.9~82 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6bf0fdbdfc994df4977d73782f2b81d2ba449e04;p=oweals%2Fmusl.git 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. --- 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);