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

This commit is contained in:
Brad King 2002-06-21 09:25:32 -04:00
parent a454990f7d
commit 5bed7ca691
1 changed files with 15 additions and 0 deletions

View File

@ -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.