summaryrefslogtreecommitdiffstats
path: root/monop
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2008-02-20 04:10:34 +0000
committerdholland <dholland@NetBSD.org>2008-02-20 04:10:34 +0000
commitadd44e03d1bf488b8342d844a181698d900b3ee1 (patch)
tree613311efb564e6ab20ba10caad80ec64a08d1e23 /monop
parent8859a2ed7b03bcd09b5d3ee8fa7c7c142fcab86a (diff)
downloadbsdgames-darwin-add44e03d1bf488b8342d844a181698d900b3ee1.tar.gz
bsdgames-darwin-add44e03d1bf488b8342d844a181698d900b3ee1.tar.zst
bsdgames-darwin-add44e03d1bf488b8342d844a181698d900b3ee1.zip
Remove unused swap() macro.
Diffstat (limited to 'monop')
-rw-r--r--monop/monop.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/monop/monop.h b/monop/monop.h
index 56ca6c49..19ad1310 100644
--- a/monop/monop.h
+++ b/monop/monop.h
@@ -1,4 +1,4 @@
-/* $NetBSD: monop.h,v 1.13 2008/02/19 09:25:21 dholland Exp $ */
+/* $NetBSD: monop.h,v 1.14 2008/02/20 04:10:34 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -66,11 +66,6 @@
#define lucky(str) printf("%s%s\n",str,lucky_mes[roll(1,num_luck)-1])
#define printline() printf("------------------------------\n")
#define sqnum(sqp) (sqp - board)
-#define swap(A1,A2) if ((A1) != (A2)) { \
- (A1) ^= (A2); \
- (A2) ^= (A1); \
- (A1) ^= (A2); \
- }
struct sqr_st { /* structure for square */
const char *name; /* place name */