Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/games/robots fix nested externs
details: https://anonhg.NetBSD.org/src/rev/44c7f8792a09
branches: trunk
changeset: 503363:44c7f8792a09
user: christos <christos%NetBSD.org@localhost>
date: Mon Feb 05 01:02:45 2001 +0000
description:
fix nested externs
diffstat:
games/robots/main.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (37 lines):
diff -r 72643f0d80e3 -r 44c7f8792a09 games/robots/main.c
--- a/games/robots/main.c Mon Feb 05 01:01:27 2001 +0000
+++ b/games/robots/main.c Mon Feb 05 01:02:45 2001 +0000
@@ -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 @@
#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 @@
int main __P((int, char **));
+extern const char *Scorefile;
+extern int Max_per_uid;
+
int
main(ac, av)
int ac;
@@ -59,8 +62,6 @@
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 */
Home |
Main Index |
Thread Index |
Old Index