diff options
author | dholland <dholland@NetBSD.org> | 2008-02-03 20:11:04 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2008-02-03 20:11:04 +0000 |
commit | ccda27626c3c6cd1976164c34418d0fd2f920b62 (patch) | |
tree | fbb1346b8cce7bc477e94eef43ec6b43d99bb70b /larn/header.h | |
parent | 476d2b8cf076c51c8aa05419833b24369b8ee286 (diff) | |
download | bsdgames-darwin-ccda27626c3c6cd1976164c34418d0fd2f920b62.tar.gz bsdgames-darwin-ccda27626c3c6cd1976164c34418d0fd2f920b62.tar.zst bsdgames-darwin-ccda27626c3c6cd1976164c34418d0fd2f920b62.zip |
Larn does not need its own private versions of functions from <ctype.h>.
Also, remove the function gettokstr(), which is not used. From larn 12.2.
Diffstat (limited to 'larn/header.h')
-rw-r--r-- | larn/header.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/larn/header.h b/larn/header.h index ad69b217..70627425 100644 --- a/larn/header.h +++ b/larn/header.h @@ -1,4 +1,4 @@ -/* $NetBSD: header.h,v 1.20 2008/02/03 20:01:24 dholland Exp $ */ +/* $NetBSD: header.h,v 1.21 2008/02/03 20:11:05 dholland Exp $ */ /* header.h Larn is copyrighted 1986 by Noah Morgan. */ @@ -337,7 +337,7 @@ extern u_char course[]; extern char diagfile[], helpfile[], ckpfile[], larnlevels[], playerids[], optsfile[1024], psname[], savefilename[], scorefile[]; -extern u_char *inbuffer, is_alpha[], is_digit[]; +extern u_char *inbuffer; extern u_char item[MAXX][MAXY], iven[], know[MAXX][MAXY]; extern const char *levelname[]; extern char logfile[], loginname[], logname[], lastmonst[]; @@ -356,7 +356,7 @@ extern u_char screen[MAXX][MAXY], sex; extern const char *speldescript[]; extern const char *scrollhide[], *scrollname[]; extern u_char spelknow[]; -extern u_char splev[], stealth[MAXX][MAXY], to_lower[], to_upper[], wizard; +extern u_char splev[], stealth[MAXX][MAXY], wizard; extern short diroffx[], diroffy[], hitflag, hit2flag, hit3flag, hitp[MAXX][MAXY]; extern short iarg[MAXX][MAXY], ivenarg[], lasthx, lasthy, lastnum, lastpx, lastpy; @@ -441,10 +441,4 @@ extern int rmst, lasttime; /* macros for miscellaneous data conversion */ #define min(x,y) (((x)>(y))?(y):(x)) #define max(x,y) (((x)>(y))?(x):(y)) -#define isalpha(x) (is_alpha[x]) -#define isdigit(x) (is_digit[x]) -#define tolower(x) (to_lower[x]) -#define toupper(x) (to_upper[x]) -#define lcc(x) (to_lower[x]) -#define ucc(x) (to_upper[x]) #endif /* NODEFS */ |