close_library(&dlb_libs[i]);
}
+/*ARGSUSED*/
STATIC_OVL boolean
lib_dlb_fopen(dp, name, mode)
dlb *dp;
- const char *name, *mode;
+ const char *name;
+ const char *mode UNUSED;
{
long start, size;
library *lp;
dp->size = size;
dp->mark = 0;
return TRUE;
- }
+ }
return FALSE; /* failed */
}
+/*ARGUSED*/
STATIC_OVL int
lib_dlb_fclose(dp)
- dlb *dp;
+ dlb *dp UNUSED;
{
/* nothing needs to be done */
return 0;
/* NetHack 3.5 role.c $Date$ $Revision$ */
-/* SCCS Id: @(#)role.c 3.5 2006/05/24 */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985-1999. */
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
-
/*** Table of all roles ***/
/* According to AD&D, HD for some classes (ex. Wizard) should be smaller
* (4-sided for wizards). But this is not AD&D, and using the AD&D
/* gender and alignment are not comparable (and also not constrainable) */
boolean
ok_gend(rolenum, racenum, gendnum, alignnum)
-int rolenum, racenum, gendnum, alignnum;
+int rolenum, racenum, gendnum;
+int alignnum UNUSED;
{
int i;
short allow;
/* alignment and gender are not comparable (and also not constrainable) */
boolean
ok_align(rolenum, racenum, gendnum, alignnum)
-int rolenum, racenum, gendnum, alignnum;
+int rolenum, racenum;
+int gendnum UNUSED;
+int alignnum;
{
int i;
short allow;