Inclusion of config.h no longer needed here.

This commit is contained in:
William McBrine
2006-02-06 01:13:18 +00:00
parent 2a9463c606
commit 57b7cd5403
34 changed files with 38 additions and 145 deletions

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
/* undefine any macros for functions defined in this module */
@@ -40,7 +37,7 @@
#ifdef PDCDEBUG
const char *rcsid_addch =
"$Id: addch.c,v 1.12 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: addch.c,v 1.13 2006/02/06 01:13:17 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
#include <string.h>
@@ -41,7 +38,7 @@
#ifdef PDCDEBUG
const char *rcsid_addchstr =
"$Id: addchstr.c,v 1.18 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: addchstr.c,v 1.19 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
/* undefine any macros for functions defined in this module */
@@ -42,7 +39,7 @@
#ifdef PDCDEBUG
const char *rcsid_addstr =
"$Id: addstr.c,v 1.12 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: addstr.c,v 1.13 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
/* undefine any macros for functions defined in this module */
@@ -39,7 +36,7 @@
#ifdef PDCDEBUG
const char *rcsid_attr =
"$Id: attr.c,v 1.15 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: attr.c,v 1.16 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
/* undefine any macros for functions defined in this module */
@@ -33,7 +30,7 @@
#ifdef PDCDEBUG
const char *rcsid_beep =
"$Id: beep.c,v 1.11 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: beep.c,v 1.12 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
/* undefine any macros for functions defined in this module */
@@ -31,7 +28,7 @@
#ifdef PDCDEBUG
const char *rcsid_bkgd =
"$Id: bkgd.c,v 1.12 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: bkgd.c,v 1.13 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
/* undefine any macros for functions defined in this module */
@@ -40,7 +37,7 @@
#ifdef PDCDEBUG
const char *rcsid_border =
"$Id: border.c,v 1.15 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: border.c,v 1.16 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************
@@ -121,7 +118,7 @@ const char *rcsid_border =
current background of win, as set by wbkgd(), should by combined with
it. Attributes set explicitly in ch take precedence. */
chtype PDC_attr_passthru(WINDOW *win, chtype ch)
static chtype PDC_attr_passthru(WINDOW *win, chtype ch)
{
chtype attr, bktmp;
@@ -370,7 +367,7 @@ int PDC_CDECL mvwvline(WINDOW *win, int y, int x, chtype ch, int n)
/* PDC_lineattr() -- add the specified attribute to a line of chtypes.
Used only as the core routine for the next three functions. */
int PDC_CDECL PDC_lineattr(WINDOW *win, int n, bool state, chtype attr)
static int PDC_CDECL PDC_lineattr(WINDOW *win, int n, bool state, chtype attr)
{
int endpos;

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
/* undefine any macros for functions defined in this module */
@@ -34,7 +31,7 @@
#ifdef PDCDEBUG
const char *rcsid_clear =
"$Id: clear.c,v 1.12 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: clear.c,v 1.13 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
#include <string.h>
@@ -39,7 +36,7 @@ static void PDC_init_pair(short, short, short);
#ifdef PDCDEBUG
const char *rcsid_color =
"$Id: color.c,v 1.27 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: color.c,v 1.28 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
#include <string.h>
@@ -37,7 +34,7 @@
#ifdef PDCDEBUG
const char *rcsid_delch =
"$Id: delch.c,v 1.11 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: delch.c,v 1.12 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
/* undefine any macros for functions defined in this module */
@@ -33,7 +30,7 @@
#ifdef PDCDEBUG
const char *rcsid_deleteln =
"$Id: deleteln.c,v 1.11 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: deleteln.c,v 1.12 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************
@@ -94,9 +91,7 @@ int PDC_CDECL deleteln(void)
int PDC_CDECL wdeleteln(WINDOW *win)
{
chtype blank;
chtype *temp;
chtype *ptr;
chtype blank, *temp, *ptr;
int y;
PDC_LOG(("wdeleteln() - called\n"));
@@ -168,9 +163,7 @@ int PDC_CDECL winsdelln(WINDOW *win, int n)
int PDC_CDECL winsertln(WINDOW *win)
{
chtype blank;
chtype *temp;
chtype *end;
chtype blank, *temp, *end;
int y;
PDC_LOG(("winsertln() - called\n"));

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
/* undefine any macros for functions defined in this module */
@@ -39,7 +36,7 @@
#ifdef PDCDEBUG
const char *rcsid_getch =
"$Id: getch.c,v 1.21 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: getch.c,v 1.22 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
/* undefine any macros for functions defined in this module */
@@ -44,7 +41,7 @@
#ifdef PDCDEBUG
const char *rcsid_getstr =
"$Id: getstr.c,v 1.19 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: getstr.c,v 1.20 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
/* undefine any macros for functions defined in this module */
@@ -32,7 +29,7 @@
#ifdef PDCDEBUG
const char *rcsid_getyx =
"$Id: getyx.c,v 1.9 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: getyx.c,v 1.10 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
/* undefine any macros for functions defined in this module */
@@ -36,7 +33,7 @@
#ifdef PDCDEBUG
const char *rcsid_inch =
"$Id: inch.c,v 1.10 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: inch.c,v 1.11 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
/* undefine any macros for functions defined in this module */
@@ -40,7 +37,7 @@
#ifdef PDCDEBUG
const char *rcsid_inchstr =
"$Id: inchstr.c,v 1.10 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: inchstr.c,v 1.11 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
/* undefine any macros for functions defined in this module */
@@ -51,7 +48,7 @@
#ifdef PDCDEBUG
const char *rcsid_inopts =
"$Id: inopts.c,v 1.18 2006/02/04 19:35:06 wmcbrine Exp $";
"$Id: inopts.c,v 1.19 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
/* undefine any macros for functions defined in this module */
@@ -38,7 +35,7 @@
#ifdef PDCDEBUG
const char *rcsid_insch =
"$Id: insch.c,v 1.11 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: insch.c,v 1.12 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
#include <string.h>
@@ -43,7 +40,7 @@
#ifdef PDCDEBUG
const char *rcsid_insstr =
"$Id: insstr.c,v 1.15 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: insstr.c,v 1.16 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
/* undefine any macros for functions defined in this module */
@@ -43,7 +40,7 @@
#ifdef PDCDEBUG
const char *rcsid_instr =
"$Id: instr.c,v 1.11 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: instr.c,v 1.12 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
#include <string.h>
@@ -35,7 +32,7 @@
#ifdef PDCDEBUG
const char *rcsid_mouse =
"$Id: mouse.c,v 1.12 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: mouse.c,v 1.13 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
/* undefine any macros for functions defined in this module */
@@ -28,7 +25,7 @@
#ifdef PDCDEBUG
const char *rcsid_move =
"$Id: move.c,v 1.9 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: move.c,v 1.10 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
/* undefine any macros for functions defined in this module */
@@ -35,7 +32,7 @@
#ifdef PDCDEBUG
const char *rcsid_outopts =
"$Id: outopts.c,v 1.14 2006/02/04 02:33:30 wmcbrine Exp $";
"$Id: outopts.c,v 1.15 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
/* undefine any macros for functions defined in this module */
@@ -35,7 +32,7 @@
#ifdef PDCDEBUG
const char *rcsid_overlay =
"$Id: overlay.c,v 1.11 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: overlay.c,v 1.12 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
#include <string.h>
#include <sys/types.h>
@@ -29,7 +26,7 @@
#ifdef PDCDEBUG
const char *rcsid_PDCdebug =
"$Id: pdcdebug.c,v 1.12 2006/01/30 02:10:55 wmcbrine Exp $";
"$Id: pdcdebug.c,v 1.13 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
bool trace_on = FALSE;

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
#include <string.h>
@@ -39,7 +36,7 @@
#ifdef PDCDEBUG
const char *rcsid_printw =
"$Id: printw.c,v 1.14 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: printw.c,v 1.15 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
#include <stdlib.h>
#include <string.h>
@@ -44,7 +41,7 @@
#ifdef PDCDEBUG
const char *rcsid_refresh =
"$Id: refresh.c,v 1.15 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: refresh.c,v 1.16 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
/* undefine any macros for functions defined in this module */
@@ -30,7 +27,7 @@
#ifdef PDCDEBUG
const char *rcsid_scr_dump =
"$Id: scr_dump.c,v 1.9 2006/01/30 02:10:55 wmcbrine Exp $";
"$Id: scr_dump.c,v 1.10 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
/* undefine any macros for functions defined in this module */
@@ -29,7 +26,7 @@
#ifdef PDCDEBUG
const char *rcsid_scroll =
"$Id: scroll.c,v 1.12 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: scroll.c,v 1.13 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
#include <string.h>
@@ -39,7 +36,7 @@
#ifdef PDCDEBUG
const char *rcsid_slk =
"$Id: slk.c,v 1.14 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: slk.c,v 1.15 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,11 +17,7 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
#include <string.h>
#include <limits.h>
@@ -38,7 +34,7 @@
#ifdef PDCDEBUG
const char *rcsid_termattr =
"$Id: termattr.c,v 1.17 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: termattr.c,v 1.18 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <term.h>
/* undefine any macros for functions defined in this module */
@@ -29,7 +26,7 @@
#ifdef PDCDEBUG
const char *rcsid_terminfo =
"$Id: terminfo.c,v 1.14 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: terminfo.c,v 1.15 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -17,9 +17,6 @@
**************************************************************************/
#define CURSES_LIBRARY 1
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
/* undefine any macros for functions defined in this module */
@@ -38,7 +35,7 @@
#ifdef PDCDEBUG
const char *rcsid_touch =
"$Id: touch.c,v 1.10 2006/01/30 12:17:17 wmcbrine Exp $";
"$Id: touch.c,v 1.11 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************

View File

@@ -18,9 +18,6 @@
#define CURSES_LIBRARY 1
#define INCLUDE_WINDOWS_H
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <curses.h>
#if defined (OS2) && defined(EMXVIDEO)
@@ -40,7 +37,7 @@
#ifdef PDCDEBUG
const char *rcsid_util =
"$Id: util.c,v 1.24 2006/02/04 00:58:41 wmcbrine Exp $";
"$Id: util.c,v 1.25 2006/02/06 01:13:18 wmcbrine Exp $";
#endif
/*man-start*********************************************************************