Fix a few more miscellaneous compiler warnings.

This commit is contained in:
John "Elwin" Edwards 2021-05-01 09:51:30 -04:00
parent ca9e48d5f6
commit d1422feb80
11 changed files with 6 additions and 16 deletions

View file

@ -21,8 +21,6 @@
**
******************/
static char sccsid[] = "%W% %G%";
#include <stdlib.h>
#include <string.h>
#if !defined(OS2) && !defined(_WIN32)

View file

@ -18,8 +18,6 @@
#ifndef dict_h_included
#define dict_h_included
static char dict_sccsid[] = "%W% %G%";
#ifndef TRUE
#define TRUE 1
#define FALSE 0

View file

@ -12,8 +12,6 @@
** Utilities for Dictionary Maintenence Functions
*************************************************************************/
static char sccsid[] = "%W% %G%";
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

View file

@ -15,8 +15,6 @@
#ifndef dictutil_h_included
#define dictutil_h_included
static char dictutil_sccsid[] = "%W% %G%";
#include <stdio.h>
#include "dict.h"

View file

@ -19,8 +19,6 @@
#include "config.h"
#endif
static char sccsid[] = "%W%\t%G%";
/* Debugging memory allocation code that tries to trap common memory problems
like overwriting storage and stepping on memory pointer chains. If code
doesn't use malloc, free, and realloc a lot, these routines can be left in

View file

@ -37,7 +37,6 @@ new_level(LEVTYPE ltype, int special)
struct linked_list *item, *nitem;
struct thing *tp;
struct linked_list *fpack = NULL;
int going_down = TRUE;
coord stairs;
/* Start player off right */
@ -51,8 +50,6 @@ new_level(LEVTYPE ltype, int special)
if (level >= max_level)
max_level = level;
else
going_down = FALSE;
/* Free up the monsters on the last level */

View file

@ -6,8 +6,6 @@
All rights reserved.
*/
static char sccsid[] = "%W% %G%";
#include "rogue.h"
void verify_function(const char *file, const int line)