libpayload: Move stdin/stdout/stderr away from headers
[coreboot.git] / payloads / libpayload / include / curses.h
index 993bb3c962da9b245053ae58e01ae5824e95e150..1859f022cb1f597ea93561c910d3e5c23e6f05df 100644 (file)
@@ -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
@@ -1673,4 +1669,7 @@ extern NCURSES_EXPORT(const char *) _nc_visbuf (const char *);
 void curses_enable_vga(int);
 void curses_enable_serial(int);
 
+int curses_vga_enabled(void);
+int curses_serial_enabled(void);
+
 #endif /* _CURSES_H */