move extern decls to .h files
This commit is contained in:
parent
035a7c5fd0
commit
a94f7f4574
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: bdisp.c,v 1.16 2012/02/18 06:57:23 matt Exp $ */
|
/* $NetBSD: bdisp.c,v 1.17 2014/03/22 18:58:57 dholland Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1994
|
* Copyright (c) 1994
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
#if 0
|
#if 0
|
||||||
static char sccsid[] = "@(#)bdisp.c 8.2 (Berkeley) 5/3/95";
|
static char sccsid[] = "@(#)bdisp.c 8.2 (Berkeley) 5/3/95";
|
||||||
#else
|
#else
|
||||||
__RCSID("$NetBSD: bdisp.c,v 1.16 2012/02/18 06:57:23 matt Exp $");
|
__RCSID("$NetBSD: bdisp.c,v 1.17 2014/03/22 18:58:57 dholland Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
|
@ -53,9 +53,6 @@ __RCSID("$NetBSD: bdisp.c,v 1.16 2012/02/18 06:57:23 matt Exp $");
|
||||||
static int lastline;
|
static int lastline;
|
||||||
static char pcolor[] = "*O.?";
|
static char pcolor[] = "*O.?";
|
||||||
|
|
||||||
extern int interactive;
|
|
||||||
extern const char *plyr[];
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initialize screen display.
|
* Initialize screen display.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: gomoku.h,v 1.19 2010/03/29 04:28:47 dholland Exp $ */
|
/* $NetBSD: gomoku.h,v 1.20 2014/03/22 18:58:57 dholland Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1994
|
* Copyright (c) 1994
|
||||||
|
@ -265,6 +265,9 @@ extern int movelog[BSZ * BSZ]; /* history of moves */
|
||||||
extern int movenum;
|
extern int movenum;
|
||||||
extern int debug;
|
extern int debug;
|
||||||
|
|
||||||
|
extern int interactive;
|
||||||
|
extern const char *plyr[];
|
||||||
|
|
||||||
#define ASSERT(x)
|
#define ASSERT(x)
|
||||||
|
|
||||||
void bdinit(struct spotstr *);
|
void bdinit(struct spotstr *);
|
||||||
|
|
Loading…
Reference in New Issue