summaryrefslogtreecommitdiffstats
path: root/sail
diff options
context:
space:
mode:
Diffstat (limited to 'sail')
-rw-r--r--sail/extern.h3
-rw-r--r--sail/misc.c5
2 files changed, 4 insertions, 4 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)
diff --git a/sail/misc.c b/sail/misc.c
index 4b33197d..d576b35e 100644
--- a/sail/misc.c
+++ b/sail/misc.c
@@ -1,4 +1,4 @@
-/* $NetBSD: misc.c,v 1.13 2003/08/07 09:37:43 agc Exp $ */
+/* $NetBSD: misc.c,v 1.14 2004/02/08 00:32:48 jsm Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -34,13 +34,14 @@
#if 0
static char sccsid[] = "@(#)misc.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: misc.c,v 1.13 2003/08/07 09:37:43 agc Exp $");
+__RCSID("$NetBSD: misc.c,v 1.14 2004/02/08 00:32:48 jsm Exp $");
#endif
#endif /* not lint */
#include <ctype.h>
#include <stdio.h>
#include <unistd.h>
+#include <stdlib.h>
#include <string.h>
#include "extern.h"
#include "pathnames.h"