From 59a96b64b527e05940480bd9ea33da78fb070aa1 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Tue, 3 Jan 2006 07:41:49 +0000 Subject: [PATCH] Removed argsused pragmas. The same thing is now achieved via a flag, plus the pragmas covered only a fraction of the affected functions. --- pdcurses/initscr.c | 9 +-------- pdcurses/inopts.c | 12 +----------- pdcurses/terminfo.c | 5 +---- 3 files changed, 3 insertions(+), 23 deletions(-) diff --git a/pdcurses/initscr.c b/pdcurses/initscr.c index 7a7c1760..a0213f82 100644 --- a/pdcurses/initscr.c +++ b/pdcurses/initscr.c @@ -61,7 +61,7 @@ #endif #ifdef PDCDEBUG -char *rcsid_initscr = "$Id: initscr.c,v 1.11 2006/01/03 07:34:43 wmcbrine Exp $"; +char *rcsid_initscr = "$Id: initscr.c,v 1.12 2006/01/03 07:41:49 wmcbrine Exp $"; #else char* _curses_notice = "PDCurses 2.2 - Public Domain 1994"; #endif @@ -515,10 +515,6 @@ FILE *infd; #endif /***********************************************************************/ { -#ifdef TC -# pragma argsused -#endif - #if 0 extern void* mallc(); /* malloc(size) */ extern void* callc(); /* calloc(num,size) */ @@ -593,9 +589,6 @@ SCREEN *new; { PDC_LOG(("set_term() - called\n")); -#ifdef TC -# pragma argsused -#endif return( SP ); /* We only have one screen supported right now */ } /***********************************************************************/ diff --git a/pdcurses/inopts.c b/pdcurses/inopts.c index 120732cf..59d4bdfd 100644 --- a/pdcurses/inopts.c +++ b/pdcurses/inopts.c @@ -55,7 +55,7 @@ #endif #ifdef PDCDEBUG -char *rcsid_inopts = "$Id: inopts.c,v 1.4 2006/01/03 07:34:43 wmcbrine Exp $"; +char *rcsid_inopts = "$Id: inopts.c,v 1.5 2006/01/03 07:41:49 wmcbrine Exp $"; #endif /*man-start********************************************************************* @@ -321,9 +321,6 @@ bool bf; #endif /***********************************************************************/ { -#ifdef TC -# pragma argsused -#endif int y; int maxy; @@ -370,13 +367,6 @@ bool bf; { PDC_LOG(("meta() - called\n")); -#ifdef UNIX -/* INCOMPLETE */ -#endif - -#ifdef TC -# pragma argsused; -#endif SP->raw_inp = bf; return( OK ); } diff --git a/pdcurses/terminfo.c b/pdcurses/terminfo.c index 51466161..dd184f23 100644 --- a/pdcurses/terminfo.c +++ b/pdcurses/terminfo.c @@ -33,7 +33,7 @@ #endif #ifdef PDCDEBUG -char *rcsid_terminfo = "$Id: terminfo.c,v 1.6 2006/01/03 07:34:43 wmcbrine Exp $"; +char *rcsid_terminfo = "$Id: terminfo.c,v 1.7 2006/01/03 07:41:49 wmcbrine Exp $"; #endif /*man-start********************************************************************* @@ -96,9 +96,6 @@ int newcol; { PDC_LOG(("mvcur() - called: oldrow %d oldcol %d newrow %d newcol %d\n",oldrow,oldcol,newrow,newcol)); -#ifdef TC -# pragma argsused -#endif if ((newrow >= LINES) || (newcol >= COLS) || (newrow < 0) ||