summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/form/frm_driver.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-06-21 13:25:32 (GMT)
committerBrad King <brad.king@kitware.com>2002-06-21 13:25:32 (GMT)
commit5bed7ca691bf09b8e26a48fc3de10a7301f70d73 (patch)
treec55b9c7d4743b5e567dc07c7f9bffb03eade15dd /Source/CursesDialog/form/frm_driver.c
parenta454990f7dbcc2878805d1771294f63698003711 (diff)
downloadCMake-5bed7ca691bf09b8e26a48fc3de10a7301f70d73.zip
CMake-5bed7ca691bf09b8e26a48fc3de10a7301f70d73.tar.gz
CMake-5bed7ca691bf09b8e26a48fc3de10a7301f70d73.tar.bz2
ERR: Added function declarations from curses.h. They are not present on some platforms. Fixes warnings about implicit declarations.
Diffstat (limited to 'Source/CursesDialog/form/frm_driver.c')
-rw-r--r--Source/CursesDialog/form/frm_driver.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/CursesDialog/form/frm_driver.c b/Source/CursesDialog/form/frm_driver.c
index d48bcd2..61aec75 100644
--- a/Source/CursesDialog/form/frm_driver.c
+++ b/Source/CursesDialog/form/frm_driver.c
@@ -43,6 +43,21 @@
MODULE_ID("$Id$")
+/* These declarations are missing from curses.h on some platforms. */
+extern int winnstr(WINDOW *, char *, int);
+extern int waddnstr(WINDOW *,const char *const,int);
+extern void wbkgdset(WINDOW *,chtype);
+#ifndef untouchwin
+extern int untouchwin(WINDOW *);
+#endif
+extern void wcursyncup(WINDOW *);
+extern int copywin(const WINDOW*,WINDOW*,int,int,int,int,int,int,int);
+extern bool is_linetouched(WINDOW *,int);
+extern void wsyncup(WINDOW *);
+extern WINDOW *derwin(WINDOW *,int,int,int,int);
+extern int winsnstr(WINDOW *, const char *,int);
+extern int winsdelln(WINDOW *,int);
+
/*----------------------------------------------------------------------------
This is the core module of the form library. It contains the majority
of the driver routines as well as the form_driver function.