More warning cleanup.

This commit is contained in:
William McBrine
2005-11-13 14:54:50 +00:00
parent b8da31843b
commit dd89757dbf
5 changed files with 13 additions and 12 deletions

View File

@@ -26,7 +26,7 @@
#endif
#ifdef PDCDEBUG
char *rcsid_ptest = "$Id: ptest.c,v 1.1 2001/01/10 08:27:40 mark Exp $";
char *rcsid_ptest = "$Id: ptest.c,v 1.2 2005/11/13 14:54:50 wmcbrine Exp $";
#endif
#include <curses.h>
@@ -163,7 +163,7 @@ int argc;
char **argv;
{
int itmp;
register y,x;
register int y,x;
if((argc > 1) && atol(argv[1]))
nap_msec = atol(argv[1]);

View File

@@ -38,10 +38,11 @@
#include "tui.h"
#ifdef PDCDEBUG
char *rcsid_tui = "$Id: tui.c,v 1.2 2004/01/02 05:50:05 mark Exp $";
char *rcsid_tui = "$Id: tui.c,v 1.3 2005/11/13 14:54:50 wmcbrine Exp $";
#endif
#if defined(__unix) && !defined(__DJGPP__)
#include <unistd.h>
#define CPUACCOUNT /* necessary if CPU cycles are to be paid! */
#endif

View File

@@ -31,11 +31,14 @@
*
* Mark Hessling Email: M.Hessling@qut.edu.au
* PO Box 203 Phone: +617 3849 7731
* Bellara http://www.gu.edu.au/gwis/the/markh.html
* Bellara
* QLD 4507 **** Maintainer PDCurses & REXX/SQL ****
* Australia ************* Author of THE ************
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
void display_info();
@@ -48,10 +51,8 @@ char *argv[];
/***********************************************************************/
{
char s[MAX_LINE + 1]; /* input line */
register int i = 0;
register int i;
FILE *fp;
char c;
char append=0;
#ifdef __EMX__
_wildcard(&argc, &argv);

View File

@@ -134,7 +134,7 @@ Boolean doit;
Dimension hw; /* horizontal scrollbar length (width) */
Position vx;
Position hy;
#if 1
#if 0
Dimension th;
Dimension tw;
#endif

View File

@@ -25,7 +25,7 @@
#include <curses.h>
#ifdef PDCDEBUG
char *rcsid_PDCkbd = "$Id: pdckbd.c,v 1.5 2004/01/01 22:07:41 mark Exp $";
char *rcsid_PDCkbd = "$Id: pdckbd.c,v 1.6 2005/11/13 14:54:50 wmcbrine Exp $";
#endif
/*man-start*********************************************************************
@@ -228,9 +228,8 @@ int PDC_rawgetch()
{
extern WINDOW* _getch_win_;
int c=0;
int delay;
bool return_immediately;
int c;
bool return_immediately;
#ifdef PDCDEBUG
if (trace_on) PDC_debug("PDC_rawgetch() - called\n");