-/* $NetBSD: hack.h,v 1.14 2011/07/02 02:10:33 mrg Exp $ */
+/* $NetBSD: hack.h,v 1.16 2011/08/06 20:18:26 dholland Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
#include <string.h>
#include <sys/time.h>
-#ifndef BSD
-#define index strchr
-#define rindex strrchr
-#endif /* BSD */
-
#define Null(type) ((struct type *) 0)
#include "def.objclass.h"
#include "def.rm.h"
#include "def.permonst.h"
-#define newstring(x) (char *) alloc((unsigned)(x))
+#define newstring(x) ((char *) alloc(x))
#include "hack.onames.h"
#define ON 1