libpayload: Move stdin/stdout/stderr away from headers
[coreboot.git] / payloads / libpayload / include / curses.h
index dc64ad36af47779f50ee7a29e61ec341f6d72066..1859f022cb1f597ea93561c910d3e5c23e6f05df 100644 (file)
@@ -34,8 +34,8 @@
 
 /* $Id: curses.h.in,v 1.167 2006/11/26 01:14:54 tom Exp $ */
 
-#ifndef __NCURSES_H
-#define __NCURSES_H
+#ifndef _CURSES_H
+#define _CURSES_H
 
 #define CURSES 1
 #define CURSES_H 1
@@ -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);
 
-#endif /* __NCURSES_H */
+int curses_vga_enabled(void);
+int curses_serial_enabled(void);
+
+#endif /* _CURSES_H */