artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bacfd86
)
remove unused macro
author
tedu
<tedu@openbsd.org>
Sun, 28 May 2017 21:13:39 +0000
(21:13 +0000)
committer
tedu
<tedu@openbsd.org>
Sun, 28 May 2017 21:13:39 +0000
(21:13 +0000)
games/robots/rnd_pos.c
patch
|
blob
|
history
diff --git
a/games/robots/rnd_pos.c
b/games/robots/rnd_pos.c
index
f2feadc
..
a8247dc
100644
(file)
--- 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