summaryrefslogtreecommitdiffstats
path: root/sail/extern.h
diff options
context:
space:
mode:
authorjsm <jsm@NetBSD.org>2004-02-08 00:32:48 +0000
committerjsm <jsm@NetBSD.org>2004-02-08 00:32:48 +0000
commit80c0ba03f49e892862ae80118ab5455c8256b0ab (patch)
tree800abbf3413939944e6c72d77c5ec8577fb1ba9b /sail/extern.h
parent1f37325e997440c903f6a13aee82c9040608bf2f (diff)
downloadbsdgames-darwin-80c0ba03f49e892862ae80118ab5455c8256b0ab.tar.gz
bsdgames-darwin-80c0ba03f49e892862ae80118ab5455c8256b0ab.zip
Use standard C abs function rather than local macro.
Diffstat (limited to 'sail/extern.h')
-rw-r--r--sail/extern.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sail/extern.h b/sail/extern.h
index 06512dac..f2288406 100644
--- a/sail/extern.h
+++ b/sail/extern.h
@@ -1,4 +1,4 @@
-/* $NetBSD: extern.h,v 1.26 2004/01/27 20:27:29 jsm Exp $ */
+/* $NetBSD: extern.h,v 1.27 2004/02/08 00:32:48 jsm Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -52,7 +52,6 @@ extern gid_t egid;
#define dieroll() ((random()) % 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)