summaryrefslogtreecommitdiffstats
path: root/robots
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2001-02-05 01:02:45 +0000
committerchristos <christos@NetBSD.org>2001-02-05 01:02:45 +0000
commit12f171da4a7bb7b1770c3c6f9bdd539a0fd2cd0b (patch)
tree5802443f196086d8030b0c55b8fb9f11e2381a72 /robots
parent36620ce14720f62dba6095ea3f25ba8ddf5613aa (diff)
downloadbsdgames-darwin-12f171da4a7bb7b1770c3c6f9bdd539a0fd2cd0b.tar.gz
bsdgames-darwin-12f171da4a7bb7b1770c3c6f9bdd539a0fd2cd0b.tar.zst
bsdgames-darwin-12f171da4a7bb7b1770c3c6f9bdd539a0fd2cd0b.zip
fix nested externs
Diffstat (limited to 'robots')
-rw-r--r--robots/main.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/robots/main.c b/robots/main.c
index 468b682e..fa705c92 100644
--- a/robots/main.c
+++ b/robots/main.c
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.16 2000/05/08 07:56:05 mycroft Exp $ */
+/* $NetBSD: main.c,v 1.17 2001/02/05 01:02:45 christos 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.16 2000/05/08 07:56:05 mycroft Exp $");
+__RCSID("$NetBSD: main.c,v 1.17 2001/02/05 01:02:45 christos Exp $");
#endif
#endif /* not lint */
@@ -51,6 +51,9 @@ __RCSID("$NetBSD: main.c,v 1.16 2000/05/08 07:56:05 mycroft Exp $");
int main __P((int, char **));
+extern const char *Scorefile;
+extern int Max_per_uid;
+
int
main(ac, av)
int ac;
@@ -59,8 +62,6 @@ main(ac, av)
const char *sp;
bool bad_arg;
bool show_only;
- extern const char *Scorefile;
- extern int Max_per_uid;
int score_wfd; /* high score writable file descriptor */
int score_err = 0; /* hold errno from score file open */