summaryrefslogtreecommitdiffstats
path: root/robots/rnd_pos.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-07-20 06:00:56 +0000
committerdholland <dholland@NetBSD.org>2009-07-20 06:00:56 +0000
commite1ae4d1a77877d5f408947890cf752c0c0998291 (patch)
treed9400d9df9a647b1e1f0bf23e8546ac4764ee7ce /robots/rnd_pos.c
parentce061e17a9dda9852d7bfd583c089bbd8dac1333 (diff)
downloadbsdgames-darwin-e1ae4d1a77877d5f408947890cf752c0c0998291.tar.gz
bsdgames-darwin-e1ae4d1a77877d5f408947890cf752c0c0998291.tar.zst
bsdgames-darwin-e1ae4d1a77877d5f408947890cf752c0c0998291.zip
Whitespace.
Diffstat (limited to 'robots/rnd_pos.c')
-rw-r--r--robots/rnd_pos.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/robots/rnd_pos.c b/robots/rnd_pos.c
index 6e739ea0..363149eb 100644
--- a/robots/rnd_pos.c
+++ b/robots/rnd_pos.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rnd_pos.c,v 1.6 2009/07/20 05:44:02 dholland Exp $ */
+/* $NetBSD: rnd_pos.c,v 1.7 2009/07/20 06:00:56 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,13 +34,13 @@
#if 0
static char sccsid[] = "@(#)rnd_pos.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: rnd_pos.c,v 1.6 2009/07/20 05:44:02 dholland Exp $");
+__RCSID("$NetBSD: rnd_pos.c,v 1.7 2009/07/20 06:00:56 dholland Exp $");
#endif
#endif /* not lint */
-# include "robots.h"
+#include "robots.h"
-# define IS_SAME(p,y,x) ((p).y != -1 && (p).y == y && (p).x == x)
+#define IS_SAME(p,y,x) ((p).y != -1 && (p).y == y && (p).x == x)
/*
* rnd_pos:
@@ -49,8 +49,8 @@ __RCSID("$NetBSD: rnd_pos.c,v 1.6 2009/07/20 05:44:02 dholland Exp $");
COORD *
rnd_pos(void)
{
- static COORD pos;
- static int call = 0;
+ static COORD pos;
+ static int call = 0;
do {
pos.y = rnd(Y_FIELDSIZE - 1) + 1;