diff options
author | steve <steve@FreeBSD.org> | 1999-04-19 03:59:02 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-04-19 03:59:02 +0000 |
commit | d59a3ca336bac3dac6ad8918ff6cb28fcbbba718 (patch) | |
tree | c2b57d23128f242645f8e3e16274a587229383ec /games/atc/graphics.c | |
parent | 390eb1b3d201760a5e8b76e2431c1f667648718f (diff) | |
download | FreeBSD-src-d59a3ca336bac3dac6ad8918ff6cb28fcbbba718.zip FreeBSD-src-d59a3ca336bac3dac6ad8918ff6cb28fcbbba718.tar.gz |
Merge a bunch of cleanups from NetBSD.
PR: 8083
Submitted by: Stephen J. Roznowski <sjr@home.net>
Obtained from: a whole slew of NetBSD PRs
Diffstat (limited to 'games/atc/graphics.c')
-rw-r--r-- | games/atc/graphics.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/games/atc/graphics.c b/games/atc/graphics.c index e7a34bf..ad93d1c 100644 --- a/games/atc/graphics.c +++ b/games/atc/graphics.c @@ -122,10 +122,11 @@ init_gr() } setup_screen(scp) - C_SCREEN *scp; + const C_SCREEN *scp; { register int i, j; - char str[3], *airstr; + char str[3]; + const char *airstr; str[2] = '\0'; @@ -213,8 +214,9 @@ setup_screen(scp) } draw_line(w, x, y, lx, ly, s) - WINDOW *w; - char *s; + WINDOW *w; + int x, y, lx, ly; + const char *s; { int dx, dy; @@ -246,7 +248,7 @@ iomove(pos) } ioaddstr(pos, str) - char *str; + const char *str; { wmove(input, 0, pos); waddstr(input, str); @@ -262,7 +264,7 @@ ioclrtobot() } ioerror(pos, len, str) - char *str; + const char *str; { int i; @@ -359,8 +361,8 @@ planewin() } loser(p, s) - PLANE *p; - char *s; + const PLANE *p; + const char *s; { int c; #ifdef BSD |