![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.
13 lines
154 B
C
13 lines
154 B
C
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
#include <errno.h>
|
|
|
|
int
|
|
mkfifo(char *, mode_t)
|
|
{
|
|
#pragma ref path
|
|
#pragma ref mode
|
|
errno = 0;
|
|
return -1;
|
|
}
|