summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald van Dijk <truedfx@gentoo.org>2009-10-27 20:52:54 +0059
committerHarald van Dijk <truedfx@gentoo.org>2009-10-27 20:52:54 +0059
commitc71a3ae87a26bffd414bdaf36b05f3dfba5ea8f5 (patch)
treeadfac14d4635e418b48078c10b1aac314138b119 /ufed-curses.h
parentufed-0.40-useorder.patch (diff)
downloadufed-c71a3ae87a26bffd414bdaf36b05f3dfba5ea8f5.tar.gz
ufed-c71a3ae87a26bffd414bdaf36b05f3dfba5ea8f5.tar.bz2
ufed-c71a3ae87a26bffd414bdaf36b05f3dfba5ea8f5.zip
autotoolize; don't show profile flags as enabled with -*
Diffstat (limited to 'ufed-curses.h')
-rw-r--r--ufed-curses.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/ufed-curses.h b/ufed-curses.h
index 1d0fb63..8730d36 100644
--- a/ufed-curses.h
+++ b/ufed-curses.h
@@ -1,16 +1,9 @@
-#define C99 (__STDC_VERSION__ >= 199901L)
-#if !C99
-#if __GNUC__ < 2 || __GNUC__ == 2 && __GNUC_MINOR__ < 95
-#error Either a C99 compiler, or gcc 2.95.* or higher is required.
-#endif
+#ifdef HAVE_CONFIG_H
+#include "config.h"
#endif
#include <curses.h>
-#if !C99
-#define inline __inline
-#endif
-
enum win { Top, Left, List, Input, Scrollbar, Right, Bottom, wCount };
struct window {
WINDOW *win;
@@ -37,6 +30,7 @@ extern int maineventloop(
void(*drawitem)(struct item *item, bool highlight),
struct item *items,
const struct key *keys);
+extern void drawitems(void);
extern void scrollcurrent(void);
extern bool yesno(const char *);