libpayload: Move stdin/stdout/stderr away from headers
[coreboot.git] / payloads / libpayload / include / stdio.h
index fb40a0dc7e2e48c3dca55b3b2cc2f991a363d498..d39e9f85451f038ebe3d12c8c5e5593e677321f3 100644 (file)
 
 #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