when resolving symbols with only weak defs, use first def, not last def
[musl] / src / unistd / setgid.c
1 #include <unistd.h>
2 #include "syscall.h"
3 #include "libc.h"
4
5 int setgid(gid_t gid)
6 {
7         return __rsyscall(SYS_setgid, gid, 0, 0, 0, 0, 0);
8 }