summaryrefslogtreecommitdiffstats
path: root/warp/us.h
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2020-11-10 22:42:19 +0000
committerchristos <christos@NetBSD.org>2020-11-10 22:42:19 +0000
commita6ad8fb14c6bed68eb8b37750e1b2fea36a8c908 (patch)
tree96a006165d8615e5e0cb4e78ef064e66b8e16437 /warp/us.h
parent1bb28c57a5d2c06152fff5de57a902bec60cc30d (diff)
downloadbsdgames-darwin-a6ad8fb14c6bed68eb8b37750e1b2fea36a8c908.tar.gz
bsdgames-darwin-a6ad8fb14c6bed68eb8b37750e1b2fea36a8c908.tar.zst
bsdgames-darwin-a6ad8fb14c6bed68eb8b37750e1b2fea36a8c908.zip
Time warp forward 34 years so that it compiles (but not work)
Diffstat (limited to 'warp/us.h')
-rw-r--r--warp/us.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/warp/us.h b/warp/us.h
index 15c7db1b..04b6a093 100644
--- a/warp/us.h
+++ b/warp/us.h
@@ -37,7 +37,7 @@ EXT int damage INIT(0);
EXT int olddamage INIT(-1);
#ifdef DOINIT
-char *dammess[MAXDAMAGE] = {
+const char *dammess[MAXDAMAGE] = {
"WARP",
"IMPULSE",
"PHASERS",
@@ -54,8 +54,8 @@ extern char *dammess[];
extern char damflag[];
#endif
-void do_direction();
-void ctrl_direction();
-void shift_direction();
-void get_commands();
-void us_init();
+void us_init(void);
+void do_direction(int, int);
+void ctrl_direction(int, int);
+void shift_direction(int, int);
+void get_commands(bool *);