summaryrefslogtreecommitdiff
path: root/games/adventure/extern.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-04-07 18:19:38 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-04-07 18:19:38 +0000
commitc9eae24eceba05cbd55018c71ec59d0df9c081f8 (patch)
tree58a10e14efdc064a99b0ae7f8829d0600068eab1 /games/adventure/extern.h
parentdafa347d401328cc9c6464983dd6468413efb1e1 (diff)
Change wd1 and wd2 from pointers to arrays. This removes the need
for getin() to have static buffers and allows us to do "sizeof wd1". Also fix saved game path. It was removing the first 2 chars of the filename due to a bug. tdeval@ OK
Diffstat (limited to 'games/adventure/extern.h')
-rw-r--r--games/adventure/extern.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/adventure/extern.h b/games/adventure/extern.h
index e7ab5385a6f..a583db00c21 100644
--- a/games/adventure/extern.h
+++ b/games/adventure/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.5 2003/04/06 18:50:33 deraadt Exp $ */
+/* $OpenBSD: extern.h,v 1.6 2003/04/07 18:19:37 millert Exp $ */
/* $NetBSD: extern.h,v 1.3 1997/10/11 01:55:27 lukem Exp $ */
/*
@@ -50,7 +50,7 @@ void trapdel(int);
void startup(void);
/* io.c */
-void getin(char **, char **);
+void getin(char *, size_t, char *, size_t);
int yes(int, int, int);
int yesm(int, int, int);
int next(void);