aboutsummaryrefslogtreecommitdiff
path: root/include/10.libc/stdio.h
diff options
context:
space:
mode:
authorAleksa Vučković <aleksav013@gmail.com>2022-01-10 22:15:15 +0100
committerAleksa Vučković <aleksav013@gmail.com>2022-01-10 22:43:56 +0100
commit0bff8199e4a800d5ea1bd422dcf06643d6daf008 (patch)
tree15108a0073d66afc026c0a2225474c2d61e71b34 /include/10.libc/stdio.h
parent97d99fa196d4b732cfd6635dcb8b0a9c9228c88d (diff)
include/setup.sh
Diffstat (limited to 'include/10.libc/stdio.h')
-rw-r--r--include/10.libc/stdio.h9
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