diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-16 22:33:17 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-16 22:33:17 +0000 |
commit | ecce38f9e0732e39f45a3d9aedc220fb564218b7 (patch) | |
tree | 6569796e3b7c04db8842e7eb02fb0595a4c78eb8 | |
parent | 6d57a1a176004a7d8fc009cdcf760098f86e3263 (diff) |
abs() is defined by ANSI C -- don't use a macro for it
-rw-r--r-- | games/sail/extern.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/games/sail/extern.h b/games/sail/extern.h index dc7dc15249f..3748d42d3f1 100644 --- a/games/sail/extern.h +++ b/games/sail/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.4 2002/02/16 21:27:11 millert Exp $ */ +/* $OpenBSD: extern.h,v 1.5 2002/02/16 22:33:16 millert Exp $ */ /* $NetBSD: extern.h,v 1.8 1998/09/13 15:27:30 hubertf Exp $ */ /* @@ -67,7 +67,6 @@ extern gid_t egid; #define die() ((random() >> 3) % 6 + 1) #define sqr(a) ((a) * (a)) -#define abs(a) ((a) > 0 ? (a) : -(a)) #define min(a,b) ((a) < (b) ? (a) : (b)) #define grappled(a) ((a)->file->ngrap) |