aboutsummaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/curses.h
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@secunet.com>2011-02-24 07:18:11 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2011-02-24 07:18:11 +0000
commitc977c7df7189c251ccfb7d0ed09178833f779809 (patch)
treee3920d7b313980a152be93a4fe499678f10dfac3 /payloads/libpayload/include/curses.h
parenta649a96efe9cf345ade3e7a0463507f9e4360ef0 (diff)
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
Diffstat (limited to 'payloads/libpayload/include/curses.h')
-rw-r--r--payloads/libpayload/include/curses.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/payloads/libpayload/include/curses.h b/payloads/libpayload/include/curses.h
index 6c9307a598..1859f022cb 100644
--- a/payloads/libpayload/include/curses.h
+++ b/payloads/libpayload/include/curses.h
@@ -148,11 +148,7 @@ typedef unsigned long chtype;
typedef unsigned long mmask_t;
#endif
-//// #include <stdio.h>
-struct _IO_FILE {
- // FIXME
-};
-typedef struct _IO_FILE FILE;
+#include <stdio.h>
//// #include <ncursesw/unctrl.h>
#include <stdarg.h> /* we need va_list */
//// #define va_list int // FIXME