Lint cleanup, nothing significant.

There is one more new complaint that might cause problems:
explode.c(545): warning: conversion from long may lose accuracy
This commit is contained in:
jwalz
2003-02-19 03:18:49 +00:00
parent 39e11412b0
commit 6689de0e04
7 changed files with 12 additions and 8 deletions

View File

@@ -293,6 +293,7 @@ int whichprefix, buffnum;
}
/* reasonbuf must be at least BUFSZ, supplied by caller */
/*ARGSUSED*/
int
validate_prefix_locations(reasonbuf)
char *reasonbuf;
@@ -923,6 +924,7 @@ restore_saved_game()
return fd;
}
/*ARGSUSED*/
static char*
plname_from_file(filename)
const char* filename;
@@ -1014,8 +1016,8 @@ char** saved;
{
if ( saved ) {
int i=0;
while (saved[i]) free(saved[i++]);
free(saved);
while (saved[i]) free((genericptr_t)saved[i++]);
free((genericptr_t)saved);
}
}