diff options
| author | Aleksa Vučković <aleksav013@gmail.com> | 2022-01-10 22:15:15 +0100 |
|---|---|---|
| committer | Aleksa Vučković <aleksav013@gmail.com> | 2022-01-10 22:43:56 +0100 |
| commit | 0bff8199e4a800d5ea1bd422dcf06643d6daf008 (patch) | |
| tree | 15108a0073d66afc026c0a2225474c2d61e71b34 /include/10.libc/stdio.h | |
| parent | 97d99fa196d4b732cfd6635dcb8b0a9c9228c88d (diff) | |
include/setup.sh
Diffstat (limited to 'include/10.libc/stdio.h')
| -rw-r--r-- | include/10.libc/stdio.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/10.libc/stdio.h b/include/10.libc/stdio.h index 45c9215..6bb87be 100644 --- a/include/10.libc/stdio.h +++ b/include/10.libc/stdio.h @@ -1,12 +1,12 @@ #ifndef _STDIO_H #define _STDIO_H + #include <stdarg.h> #include <stddef.h> + #define SEEK_SET 0 typedef struct { int unused; } FILE; -#ifdef __cplusplus -extern "C" { -#endif + extern FILE* stderr; #define stderr stderr int fclose(FILE*); @@ -22,7 +22,4 @@ int vfprintf(FILE*, const char*, va_list); void printf(char *str, ...); -#ifdef __cplusplus -} -#endif #endif |
