diff options
author | dholland <dholland@NetBSD.org> | 2009-08-12 04:48:03 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-08-12 04:48:03 +0000 |
commit | c3bf93e0abeaf9b5ea304d3573f2beda026b1a1b (patch) | |
tree | 8d9e8de203da8b607b81155eb25ac077fc12290f /atc/graphics.c | |
parent | 63e571cca69e7558ecb2d0e2e654eff896c0ac62 (diff) | |
download | bsdgames-darwin-c3bf93e0abeaf9b5ea304d3573f2beda026b1a1b.tar.gz bsdgames-darwin-c3bf93e0abeaf9b5ea304d3573f2beda026b1a1b.tar.zst bsdgames-darwin-c3bf93e0abeaf9b5ea304d3573f2beda026b1a1b.zip |
sprinkle static
Diffstat (limited to 'atc/graphics.c')
-rw-r--r-- | atc/graphics.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/atc/graphics.c b/atc/graphics.c index c29b2674..f081c973 100644 --- a/atc/graphics.c +++ b/atc/graphics.c @@ -1,4 +1,4 @@ -/* $NetBSD: graphics.c,v 1.15 2008/08/08 16:10:47 drochner Exp $ */ +/* $NetBSD: graphics.c,v 1.16 2009/08/12 04:48:03 dholland Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -46,7 +46,7 @@ #if 0 static char sccsid[] = "@(#)graphics.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: graphics.c,v 1.15 2008/08/08 16:10:47 drochner Exp $"); +__RCSID("$NetBSD: graphics.c,v 1.16 2009/08/12 04:48:03 dholland Exp $"); #endif #endif /* not lint */ @@ -60,7 +60,9 @@ __RCSID("$NetBSD: graphics.c,v 1.15 2008/08/08 16:10:47 drochner Exp $"); #define C_BEACON '*' #define C_CREDIT '*' -WINDOW *radar, *cleanradar, *credit, *input, *planes; +static void draw_line(WINDOW *, int, int, int, int, const char *); + +static WINDOW *radar, *cleanradar, *credit, *input, *planes; int getAChar(void) @@ -216,7 +218,7 @@ setup_screen(const C_SCREEN *scp) (void)fflush(stdout); } -void +static void draw_line(WINDOW *w, int x, int y, int lx, int ly, const char *s) { int dx, dy; |