Skip to content

Commit 1b1c2fd

Browse files
committed
fix nested externs
1 parent c18d8e6 commit 1b1c2fd

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

games/robots/main.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: main.c,v 1.16 2000/05/08 07:56:05 mycroft Exp $ */
1+
/* $NetBSD: main.c,v 1.17 2001/02/05 01:02:45 christos Exp $ */
22

33
/*
44
* Copyright (c) 1980, 1993
@@ -43,14 +43,17 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\
4343
#if 0
4444
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 5/31/93";
4545
#else
46-
__RCSID("$NetBSD: main.c,v 1.16 2000/05/08 07:56:05 mycroft Exp $");
46+
__RCSID("$NetBSD: main.c,v 1.17 2001/02/05 01:02:45 christos Exp $");
4747
#endif
4848
#endif /* not lint */
4949

5050
# include "robots.h"
5151

5252
int main __P((int, char **));
5353

54+
extern const char *Scorefile;
55+
extern int Max_per_uid;
56+
5457
int
5558
main(ac, av)
5659
int ac;
@@ -59,8 +62,6 @@ main(ac, av)
5962
const char *sp;
6063
bool bad_arg;
6164
bool show_only;
62-
extern const char *Scorefile;
63-
extern int Max_per_uid;
6465
int score_wfd; /* high score writable file descriptor */
6566
int score_err = 0; /* hold errno from score file open */
6667

0 commit comments

Comments
 (0)