libc/newlib/libc/sys/a29khif/getpid.c
Yaakov Selkowitz fff27f8429 ansification: remove _DEFUN_VOID
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-17 11:47:19 -06:00

13 lines
170 B
C

/* Stub for getpid. */
#include <_ansi.h>
/* This should really return pid_t, but that doesn't seem to be in
<sys/types.h>. */
int
_getpid (void)
{
return 1;
}