Removed argsused pragmas. The same thing is now achieved via a flag,

plus the pragmas covered only a fraction of the affected functions.
This commit is contained in:
William McBrine
2006-01-03 07:41:49 +00:00
parent eeb269715d
commit 59a96b64b5
3 changed files with 3 additions and 23 deletions

View File

@@ -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 */
}
/***********************************************************************/

View File

@@ -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 );
}

View File

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