forked from KolibriOS/kolibrios
libc.obj: add EXIT_SUCCESS/FAILURE to stdlib.h
This commit is contained in:
@@ -8,6 +8,9 @@
|
||||
#define NULL ((void*)0)
|
||||
#endif
|
||||
|
||||
#define EXIT_SUCCESS 0 // Successful execution of a program
|
||||
#define EXIT_FAILURE 1 // Unsuccessful execution of a program
|
||||
|
||||
#define min(a, b) ((a) < (b) ? (a) : (b))
|
||||
#define max(a, b) ((a) > (b) ? (a) : (b))
|
||||
|
||||
|
||||
@@ -19,9 +19,6 @@ FILE* out = stdout;
|
||||
FILE* out = stderr;
|
||||
#endif
|
||||
|
||||
#define EXIT_SUCCESS 0
|
||||
#define EXIT_FAILURE 1
|
||||
|
||||
#define fprintf fprintf
|
||||
|
||||
void show_help()
|
||||
|
||||
Reference in New Issue
Block a user