forked from Bananymous/banan-os
LibC: rename [[noreturn]] to __attribute__((__noreturn__))
This compiles with C compiler
This commit is contained in:
parent
e6f0f891a6
commit
afb29ff3ec
|
@ -41,9 +41,9 @@ typedef struct
|
|||
long long rem; /* remainder */
|
||||
} lldiv_t;
|
||||
|
||||
[[noreturn]] void _Exit(int status);
|
||||
void _Exit(int status) __attribute__((__noreturn__));
|
||||
long a64l(const char* s);
|
||||
[[noreturn]] void abort(void);
|
||||
void abort(void) __attribute__((__noreturn__));
|
||||
int abs(int i);
|
||||
int atexit(void (*func)(void));
|
||||
double atof(const char* str);
|
||||
|
|
|
@ -132,7 +132,7 @@ size_t confstr(int name, char* buf, size_t len);
|
|||
char* crypt(const char* key, const char* salt);
|
||||
int dup(int fildes);
|
||||
int dup2(int fildes, int fildes2);
|
||||
[[noreturn]] void _exit(int status);
|
||||
void _exit(int status) __attribute__((__noreturn__));
|
||||
void encrypt(char block[64], int edflag);
|
||||
int execl(const char* path, const char* arg0, ...);
|
||||
int execle(const char* path, const char* arg0, ...);
|
||||
|
|
Loading…
Reference in New Issue