summaryrefslogtreecommitdiff
path: root/games/robots/rnd_pos.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2017-05-28 21:13:40 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2017-05-28 21:13:40 +0000
commit5d5ac62afdf7193f0ec6720ddab5b6f55c183e46 (patch)
tree2d3b276832056febfce34cd7a9367937ae438886 /games/robots/rnd_pos.c
parent97bc9c8ef491e0241895de7caf26101a17c13c14 (diff)
remove unused macro
Diffstat (limited to 'games/robots/rnd_pos.c')
-rw-r--r--games/robots/rnd_pos.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/games/robots/rnd_pos.c b/games/robots/rnd_pos.c
index f2feadc149d..a8247dcea0e 100644
--- a/games/robots/rnd_pos.c
+++ b/games/robots/rnd_pos.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rnd_pos.c,v 1.7 2016/01/04 17:33:24 mestre Exp $ */
+/* $OpenBSD: rnd_pos.c,v 1.8 2017/05/28 21:13:39 tedu Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -33,8 +33,6 @@
#include "robots.h"
-#define IS_SAME(p,y,x) ((p).y != -1 && (p).y == y && (p).x == x)
-
/*
* rnd_pos:
* Pick a random, unoccupied position