X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=include%2Funistd.h;h=b9dc06d52e3d1cf62049a9e04479b0807c4a475e;hb=4191d2447673e6b03722198871af0daf9390cb51;hp=64a6b4615ed9b498a010fe2f560334b90f5372d4;hpb=6bf0fdbdfc994df4977d73782f2b81d2ba449e04;p=musl diff --git a/include/unistd.h b/include/unistd.h index 64a6b461..b9dc06d5 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 @@ -29,6 +24,7 @@ extern "C" { #define __NEED_off_t #define __NEED_pid_t #define __NEED_intptr_t +#define __NEED_useconds_t #include @@ -175,6 +171,7 @@ void setusershell(void); void endusershell(void); char *getusershell(void); int acct(const char *); +long syscall(long, ...); #endif #ifdef _GNU_SOURCE