summaryrefslogtreecommitdiffstats
path: root/games/battlestar
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1997-02-26 20:10:45 +0000
committereivind <eivind@FreeBSD.org>1997-02-26 20:10:45 +0000
commit8db9f05d1b984d3dce3bc460b5e99fd1d6c45ca3 (patch)
tree53a989cfee581ed8ef4e85423961afb217d254bf /games/battlestar
parent5945714246d3a26907d6db8b3c517f217a7ed841 (diff)
downloadFreeBSD-src-8db9f05d1b984d3dce3bc460b5e99fd1d6c45ca3.zip
FreeBSD-src-8db9f05d1b984d3dce3bc460b5e99fd1d6c45ca3.tar.gz
Actually remove sys/time.h hack; fix typo.
Pointed out by: bde
Diffstat (limited to 'games/battlestar')
-rw-r--r--games/battlestar/com3.c2
-rw-r--r--games/battlestar/com6.c8
2 files changed, 1 insertions, 9 deletions
diff --git a/games/battlestar/com3.c b/games/battlestar/com3.c
index 1189ecc..619c43f 100644
--- a/games/battlestar/com3.c
+++ b/games/battlestar/com3.c
@@ -278,7 +278,7 @@ shoot()
clearbit(location[position].objects,TIMER);
setbit(location[position].objects,DEADTIME);
}
- else puts("What old gtimer?");
+ else puts("What old timer?");
break;
case MAN:
if (testbit(location[position].objects,MAN)){
diff --git a/games/battlestar/com6.c b/games/battlestar/com6.c
index a6dc158..146bb8c 100644
--- a/games/battlestar/com6.c
+++ b/games/battlestar/com6.c
@@ -89,15 +89,7 @@ live()
exit(0);
}
-/*
- * sigh -- this program thinks `clock' and `time' are ints. It's easier
- * to hack around this than to fix it properly.
- */
-#define clock not_our_clock
-#define time not_our_time
#include <sys/time.h>
-#undef clock
-#undef time
post(ch)
char ch;
OpenPOWER on IntegriCloud