summaryrefslogtreecommitdiffstats
path: root/robots/main.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/main.c
parentce061e17a9dda9852d7bfd583c089bbd8dac1333 (diff)
downloadbsdgames-darwin-e1ae4d1a77877d5f408947890cf752c0c0998291.tar.gz
bsdgames-darwin-e1ae4d1a77877d5f408947890cf752c0c0998291.tar.zst
bsdgames-darwin-e1ae4d1a77877d5f408947890cf752c0c0998291.zip
Whitespace.
Diffstat (limited to 'robots/main.c')
-rw-r--r--robots/main.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/robots/main.c b/robots/main.c
index f1dce70a..ad09e3d2 100644
--- a/robots/main.c
+++ b/robots/main.c
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.25 2009/07/20 05:44:02 dholland Exp $ */
+/* $NetBSD: main.c,v 1.26 2009/07/20 06:00:56 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -39,23 +39,23 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\
#if 0
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: main.c,v 1.25 2009/07/20 05:44:02 dholland Exp $");
+__RCSID("$NetBSD: main.c,v 1.26 2009/07/20 06:00:56 dholland Exp $");
#endif
#endif /* not lint */
-# include "robots.h"
+#include "robots.h"
-extern const char *Scorefile;
-extern int Max_per_uid;
+extern const char *Scorefile;
+extern int Max_per_uid;
int
main(int ac, char **av)
{
- const char *sp;
- bool bad_arg;
- bool show_only;
- int score_wfd; /* high score writable file descriptor */
- int score_err = 0; /* hold errno from score file open */
+ const char *sp;
+ bool bad_arg;
+ bool show_only;
+ int score_wfd; /* high score writable file descriptor */
+ int score_err = 0; /* hold errno from score file open */
score_wfd = open(Scorefile, O_RDWR);
if (score_wfd < 0)
@@ -117,7 +117,7 @@ main(int ac, char **av)
case 't':
Teleport = TRUE;
break;
-
+
default:
fprintf(stderr, "robots: unknown option: %c\n", *sp);
bad_arg = TRUE;
@@ -207,9 +207,9 @@ quit(int dummy __unused)
bool
another(void)
{
- int y;
+ int y;
-#ifdef FANCY
+#ifdef FANCY
if ((Stand_still || Pattern_roll) && !Newscore)
return TRUE;
#endif