-/* $NetBSD: extern.h,v 1.24 2001/01/04 06:16:51 jwise Exp $ */
+/* $NetBSD: extern.h,v 1.27 2004/02/08 00:32:48 jsm Exp $ */
/*
* Copyright (c) 1983, 1993
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
+ * 3. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* @(#)externs.h 8.1 (Berkeley) 5/31/93
*/
+#include <sys/types.h>
+
#include "machdep.h"
/* program mode */
#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)