- really make extern char's extern.
This commit is contained in:
parent
ad345e6c1b
commit
7ed858277a
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: main.c,v 1.5 1997/10/10 08:59:37 lukem Exp $ */
|
||||
/* $NetBSD: main.c,v 1.6 1998/03/29 04:46:40 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1980, 1993
|
||||
|
@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 5/31/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: main.c,v 1.5 1997/10/10 08:59:37 lukem Exp $");
|
||||
__RCSID("$NetBSD: main.c,v 1.6 1998/03/29 04:46:40 mrg Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -53,8 +53,8 @@ __RCSID("$NetBSD: main.c,v 1.5 1997/10/10 08:59:37 lukem Exp $");
|
|||
#define MVPAUSE 5 /* time to sleep when stuck */
|
||||
#define MAXUSERS 35 /* maximum number of users */
|
||||
|
||||
char *instr[]; /* text of instructions */
|
||||
char *message[]; /* update message */
|
||||
extern char *instr[]; /* text of instructions */
|
||||
extern char *message[]; /* update message */
|
||||
speed_t ospeed; /* tty output speed */
|
||||
|
||||
char *helpm[] = { /* help message */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: extern.h,v 1.7 1998/02/03 05:39:25 perry Exp $ */
|
||||
/* $NetBSD: extern.h,v 1.8 1998/03/29 04:49:06 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1983, 1993
|
||||
|
@ -236,8 +236,8 @@ struct room {
|
|||
char *desc;
|
||||
unsigned int objects[NUMOFWORDS];
|
||||
};
|
||||
struct room dayfile[];
|
||||
struct room nightfile[];
|
||||
extern struct room dayfile[];
|
||||
extern struct room nightfile[];
|
||||
struct room *location;
|
||||
|
||||
/* object characteristics */
|
||||
|
@ -294,14 +294,14 @@ struct wlist {
|
|||
#define HASHMUL 81
|
||||
#define HASHMASK (HASHSIZE - 1)
|
||||
struct wlist *hashtab[HASHSIZE];
|
||||
struct wlist wlist[];
|
||||
extern struct wlist wlist[];
|
||||
|
||||
struct objs {
|
||||
short room;
|
||||
short obj;
|
||||
};
|
||||
struct objs dayobjs[];
|
||||
struct objs nightobjs[];
|
||||
extern struct objs dayobjs[];
|
||||
extern struct objs nightobjs[];
|
||||
|
||||
void blast __P((void));
|
||||
void bury __P((void));
|
||||
|
|
Loading…
Reference in New Issue