diff options
author | dholland <dholland@NetBSD.org> | 2009-07-20 06:39:06 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-07-20 06:39:06 +0000 |
commit | c723a928778be55849c00d5cc692bf522bb8dae3 (patch) | |
tree | 5df93c1e2785c24ec08fe81f3847cfb843ef6956 /robots/rnd_pos.c | |
parent | 2259ef99814e890037423ad7beecb3fa28ca0f78 (diff) | |
download | bsdgames-darwin-c723a928778be55849c00d5cc692bf522bb8dae3.tar.gz bsdgames-darwin-c723a928778be55849c00d5cc692bf522bb8dae3.tar.zst bsdgames-darwin-c723a928778be55849c00d5cc692bf522bb8dae3.zip |
Assorted minor cleanups, no functional change:
- u_int* -> uint*
- don't make private typedefs of system structures
- use curses TRUE and FALSE only with curses booleans, otherwise
true and false;
- includes cleanup
- group globals in extern.c by functionality
Object file diffs inspected.
Diffstat (limited to 'robots/rnd_pos.c')
-rw-r--r-- | robots/rnd_pos.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/robots/rnd_pos.c b/robots/rnd_pos.c index 363149eb..e5a0b4c3 100644 --- a/robots/rnd_pos.c +++ b/robots/rnd_pos.c @@ -1,4 +1,4 @@ -/* $NetBSD: rnd_pos.c,v 1.7 2009/07/20 06:00:56 dholland Exp $ */ +/* $NetBSD: rnd_pos.c,v 1.8 2009/07/20 06:39:06 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,10 +34,12 @@ #if 0 static char sccsid[] = "@(#)rnd_pos.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: rnd_pos.c,v 1.7 2009/07/20 06:00:56 dholland Exp $"); +__RCSID("$NetBSD: rnd_pos.c,v 1.8 2009/07/20 06:39:06 dholland Exp $"); #endif #endif /* not lint */ +#include <curses.h> +#include <stdlib.h> #include "robots.h" #define IS_SAME(p,y,x) ((p).y != -1 && (p).y == y && (p).x == x) |