summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/stdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/include/stdio.h')
-rw-r--r--payloads/libpayload/include/stdio.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/payloads/libpayload/include/stdio.h b/payloads/libpayload/include/stdio.h
index fb40a0dc7e..d39e9f8545 100644
--- a/payloads/libpayload/include/stdio.h
+++ b/payloads/libpayload/include/stdio.h
@@ -32,14 +32,9 @@
#include <stddef.h>
-struct _FILE {
-} _stdout, _stdin, _stderr;
-
typedef struct _FILE FILE;
-FILE *stdout = &_stdout;
-FILE *stdin = &_stdin;
-FILE *stderr = &_stderr;
+extern FILE *stdout, *stdin, *stderr;
/**
* @defgroup printf Print functions