![Ori Bernstein](/assets/img/avatar_default.png)
For ape, we never enabled warnings in cflags. Turning it on brings up a lot of warnings. Most are noise, but a few caught unused variables and trunctaions of pointers. to smaller integers (int, long). A few warnings remain.
11 lines
123 B
C
11 lines
123 B
C
#include <sys/types.h>
|
|
#include <unistd.h>
|
|
#include <errno.h>
|
|
|
|
int
|
|
getgroups(int, gid_t*)
|
|
{
|
|
errno = EINVAL;
|
|
return -1;
|
|
}
|