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/auto.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/auto.c')
-rw-r--r-- | robots/auto.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/robots/auto.c b/robots/auto.c index 792c0ba5..5d09c540 100644 --- a/robots/auto.c +++ b/robots/auto.c @@ -1,4 +1,4 @@ -/* $NetBSD: auto.c,v 1.10 2009/07/20 06:00:56 dholland Exp $ */ +/* $NetBSD: auto.c,v 1.11 2009/07/20 06:39:06 dholland Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -50,6 +50,8 @@ * FI * FI */ +#include <curses.h> +#include <string.h> #include "robots.h" #define ABS(a) (((a)>0)?(a):-(a)) |