summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-02-16 22:33:16 +0000
committermillert <millert@openbsd.org>2002-02-16 22:33:16 +0000
commitab3b532a2778a4aa3de5392969b1cc2a71d72210 (patch)
treeea96f11d7b2eb21083c8224d31f3c49b74494268
parentPart one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. (diff)
downloadwireguard-openbsd-ab3b532a2778a4aa3de5392969b1cc2a71d72210.tar.xz
wireguard-openbsd-ab3b532a2778a4aa3de5392969b1cc2a71d72210.zip
abs() is defined by ANSI C -- don't use a macro for it
-rw-r--r--games/sail/extern.h3
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)