Преглед на файлове

ERR: Added function declarations from curses.h. They are not present on some platforms. Fixes warnings about implicit declarations.

Brad King преди 23 години
родител
ревизия
5bed7ca691
променени са 1 файла, в които са добавени 15 реда и са изтрити 0 реда
  1. 15 0
      Source/CursesDialog/form/frm_driver.c

+ 15 - 0
Source/CursesDialog/form/frm_driver.c

@@ -43,6 +43,21 @@
 
 
 MODULE_ID("$Id$")
 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
   This is the core module of the form library. It contains the majority
   of the driver routines as well as the form_driver function. 
   of the driver routines as well as the form_driver function.