diff options
Diffstat (limited to 'sail')
-rw-r--r-- | sail/driver.h | 4 | ||||
-rw-r--r-- | sail/extern.h | 20 | ||||
-rw-r--r-- | sail/player.h | 4 |
3 files changed, 14 insertions, 14 deletions
diff --git a/sail/driver.h b/sail/driver.h index 3a0cd9d7..033e1ed0 100644 --- a/sail/driver.h +++ b/sail/driver.h @@ -1,4 +1,4 @@ -/* $NetBSD: driver.h,v 1.4 1997/01/07 12:42:16 tls Exp $ */ +/* $NetBSD: driver.h,v 1.5 1998/03/29 04:57:19 mrg Exp $ */ /* * Copyright (c) 1983, 1993 @@ -37,4 +37,4 @@ #include "extern.h" -int dtab[]; +extern int dtab[]; diff --git a/sail/extern.h b/sail/extern.h index d5ae5701..a1b0768f 100644 --- a/sail/extern.h +++ b/sail/extern.h @@ -1,4 +1,4 @@ -/* $NetBSD: extern.h,v 1.5 1997/10/13 21:03:49 christos Exp $ */ +/* $NetBSD: extern.h,v 1.6 1998/03/29 04:57:19 mrg Exp $ */ /* * Copyright (c) 1983, 1993 @@ -231,7 +231,7 @@ struct scenario { char *name; /* 14 */ struct ship ship[NSHIP]; /* 16 */ }; -struct scenario scene[]; +extern struct scenario scene[]; int nscene; struct shipspecs { @@ -255,7 +255,7 @@ struct shipspecs { int rig4; short pts; }; -struct shipspecs specs[]; +extern struct shipspecs specs[]; struct scenario *cc; /* the current scenario */ struct ship *ls; /* &cc->ship[cc->vessels] */ @@ -280,15 +280,15 @@ char HDTrake[9][10]; char QUAL[9][5]; char MT[9][3]; -char *countryname[]; -char *classname[]; -char *directionname[]; -char *qualname[]; -char loadname[]; +extern char *countryname[]; +extern char *classname[]; +extern char *directionname[]; +extern char *qualname[]; +extern char loadname[]; -char rangeofshot[]; +extern char rangeofshot[]; -char dr[], dc[]; +extern char dr[], dc[]; int winddir; int windspeed; diff --git a/sail/player.h b/sail/player.h index 3401290a..07c600b3 100644 --- a/sail/player.h +++ b/sail/player.h @@ -1,4 +1,4 @@ -/* $NetBSD: player.h,v 1.5 1997/01/07 12:42:24 tls Exp $ */ +/* $NetBSD: player.h,v 1.6 1998/03/29 04:57:20 mrg Exp $ */ /* * Copyright (c) 1983, 1993 @@ -109,7 +109,7 @@ char loaded, fired, changed, repaired; char dont_adjust; int viewrow, viewcol; char movebuf[sizeof SHIP(0)->file->movebuf]; -char version[]; +extern char version[]; int player; struct ship *ms; /* memorial structure, &cc->ship[player] */ struct File *mf; /* ms->file */ |