We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
exit
1 parent 71d07cb commit f35cf16Copy full SHA for f35cf16
libc-bottom-half/cloudlibc/src/include/stdlib.h
@@ -139,8 +139,8 @@ void *calloc(size_t, size_t);
139
div_t div(int, int) __pure2;
140
double drand48(void);
141
double erand48(__uint16_t *);
142
-_Noreturn void exit(int);
143
#endif
+_Noreturn void exit(int);
144
void free(void *);
145
#ifdef __wasilibc_unmodified_upstream
146
char *getenv(const char *);
libc-bottom-half/crt/crt1.c
@@ -1,8 +1,8 @@
1
#include <wasi/api.h>
2
+#include <stdlib.h>
3
extern void __wasm_call_ctors(void);
4
extern int __original_main(void);
5
extern void __wasm_call_dtors(void);
6
7
__attribute__((export_name("_start")))
8
void _start(void) {
0 commit comments