libpayload: Move stdin/stdout/stderr away from headers
Otherwise they exist in several object files, confusing the linker Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6377 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Patrick Georgi
parent
a649a96efe
commit
c977c7df71
@ -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
|
||||
|
Reference in New Issue
Block a user