Added missing exit() declaration and missing SEEK_ macros.
This commit is contained in:
parent
918aab5b2e
commit
9b9d5ade09
@ -12,6 +12,10 @@
|
||||
#define stderr __stderr
|
||||
#define stdin __stdin
|
||||
|
||||
#define SEEK_SET 1
|
||||
#define SEEK_CUR 2
|
||||
#define SEEK_END 3
|
||||
|
||||
BA_EXTERN_C_BEGIN
|
||||
|
||||
typedef struct __file FILE;
|
||||
|
@ -11,6 +11,7 @@ BA_EXTERN_C_BEGIN
|
||||
|
||||
BA_CXX_NORETURN void abort();
|
||||
int atexit(void (*func)()) BA_CXX_NOEXCEPT;
|
||||
BA_CXX_NORETURN void exit(int exitCode) BA_CXX_NOEXCEPT;
|
||||
BA_CXX_NODISCARD char* getenv(const char* name) BA_CXX_NOEXCEPT;
|
||||
|
||||
BA_CXX_NODISCARD int abs(int n) BA_CXX_NOEXCEPT;
|
||||
|
Loading…
x
Reference in New Issue
Block a user