X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Fstdlib.h;h=f7c5971965c269c574764110592dacb7414da578;hp=14cc71bba4bff428854bd77bb9a5af7fe9e08673;hb=9ec4283b28cf676292fd5c6f681bef1e90e30c18;hpb=400c5e5c8307a2ebe44ef1f203f5a15669f20347 diff --git a/include/stdlib.h b/include/stdlib.h index 14cc71bb..f7c59719 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -5,11 +5,7 @@ extern "C" { #endif -#if __STDC_VERSION__ >= 199901L -#define __restrict restrict -#elif !defined(__GNUC__) -#define __restrict -#endif +#include #undef NULL #ifdef __cplusplus @@ -46,12 +42,12 @@ void *realloc (void *, size_t); void free (void *); void *aligned_alloc(size_t alignment, size_t size); -void abort (void); +_Noreturn void abort (void); int atexit (void (*) (void)); -void exit (int); -void _Exit (int); +_Noreturn void exit (int); +_Noreturn void _Exit (int); int at_quick_exit (void (*) (void)); -void quick_exit (int); +_Noreturn void quick_exit (int); char *getenv (const char *);