-/* $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
#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 */
#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 */
-/* $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
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 */
#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));