summaryrefslogtreecommitdiff
path: root/games/sail/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'games/sail/player.h')
-rw-r--r--games/sail/player.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/games/sail/player.h b/games/sail/player.h
index 8fb605218e2..65c958f1211 100644
--- a/games/sail/player.h
+++ b/games/sail/player.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: player.h,v 1.5 1999/01/18 06:20:53 pjanzen Exp $ */
+/* $OpenBSD: player.h,v 1.6 2000/01/03 23:22:41 pjanzen Exp $ */
/* $NetBSD: player.h,v 1.4 1995/04/22 10:37:22 cgd Exp $ */
/*
@@ -99,22 +99,22 @@
#define SCREENTEST() (initscr() != NULL && STAT_R < COLS && SCROLL_Y > 0)
#endif
-WINDOW *view_w;
-WINDOW *slot_w;
-WINDOW *scroll_w;
-WINDOW *stat_w;
-WINDOW *turn_w;
+extern WINDOW *view_w;
+extern WINDOW *slot_w;
+extern WINDOW *scroll_w;
+extern WINDOW *stat_w;
+extern WINDOW *turn_w;
-char done_curses;
-char loaded, fired, changed, repaired;
-char dont_adjust;
-int viewrow, viewcol;
-char movebuf[sizeof SHIP(0)->file->movebuf];
+extern char done_curses;
+extern char loaded, fired, changed, repaired;
+extern char dont_adjust;
+extern int viewrow, viewcol;
+extern char movebuf[sizeof SHIP(0)->file->movebuf];
extern char version[];
-int player;
-struct ship *ms; /* memorial structure, &cc->ship[player] */
-struct File *mf; /* ms->file */
-struct shipspecs *mc; /* ms->specs */
+extern int player;
+extern struct ship *ms; /* memorial structure, &cc->ship[player] */
+extern struct File *mf; /* ms->file */
+extern struct shipspecs *mc; /* ms->specs */
/* condition codes for leave() */
#define LEAVE_QUIT 0