projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1bb783
)
unistd.h: fix wrong type for gid_t argument
author
rofl0r
<retnyg@gmx.net>
Thu, 6 Dec 2012 18:48:14 +0000
(19:48 +0100)
committer
rofl0r
<retnyg@gmx.net>
Thu, 6 Dec 2012 19:27:54 +0000
(20:27 +0100)
the prototype is defined with const gid_t* rather than const gid_t[].
it was already correctly defined in grp.h.
include/unistd.h
patch
|
blob
|
history
diff --git
a/include/unistd.h
b/include/unistd.h
index 2791c3de82c2b10879ecd1736e6cee790e743e8f..64a6b4615ed9b498a010fe2f560334b90f5372d4 100644
(file)
--- 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);