X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Funistd.h;h=07e49e97e23dac1c5fa179881ea3352602d0ca70;hp=64a6b4615ed9b498a010fe2f560334b90f5372d4;hb=725c55528dff9eefbc88a943749f3bc89bcb433f;hpb=6bf0fdbdfc994df4977d73782f2b81d2ba449e04 diff --git a/include/unistd.h b/include/unistd.h index 64a6b461..07e49e97 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -15,12 +15,7 @@ extern "C" { #define SEEK_CUR 1 #define SEEK_END 2 -#undef NULL -#ifdef __cplusplus -#define NULL 0 -#else -#define NULL ((void*)0) -#endif +#define NULL 0L #define __NEED_size_t #define __NEED_ssize_t @@ -175,6 +170,7 @@ void setusershell(void); void endusershell(void); char *getusershell(void); int acct(const char *); +long syscall(long, ...); #endif #ifdef _GNU_SOURCE