summaryrefslogtreecommitdiffstats
path: root/hack
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2011-08-06 19:47:54 +0000
committerdholland <dholland@NetBSD.org>2011-08-06 19:47:54 +0000
commita0a534b2543590119388ff8fb826e728063edfa0 (patch)
treed0a7c95a9134dd98796655756163fd8bae30cce3 /hack
parente6bc749f83d69a67c5682e6a2f14411157b24305 (diff)
downloadbsdgames-darwin-a0a534b2543590119388ff8fb826e728063edfa0.tar.gz
bsdgames-darwin-a0a534b2543590119388ff8fb826e728063edfa0.tar.zst
bsdgames-darwin-a0a534b2543590119388ff8fb826e728063edfa0.zip
abolish references to index/rindex
Diffstat (limited to 'hack')
-rw-r--r--hack/config.h6
-rw-r--r--hack/hack.h7
2 files changed, 3 insertions, 10 deletions
diff --git a/hack/config.h b/hack/config.h
index c00e4361..18c5caba 100644
--- a/hack/config.h
+++ b/hack/config.h
@@ -1,4 +1,4 @@
-/* $NetBSD: config.h,v 1.8 2011/08/06 19:32:58 dholland Exp $ */
+/* $NetBSD: config.h,v 1.9 2011/08/06 19:47:54 dholland Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
@@ -75,9 +75,7 @@
* <sys/wait.h> <wait.h>
* <sys/time.h> <time.h>
* <sgtty.h> <termio.h>
- * Some routines are called differently
- * index strchr
- * rindex strrchr
+ *
* Also, the code for suspend and various ioctls is only given for BSD4.2
* (I do not have access to a SYSV system.)
*/
diff --git a/hack/hack.h b/hack/hack.h
index e25390ba..827b855e 100644
--- a/hack/hack.h
+++ b/hack/hack.h
@@ -1,4 +1,4 @@
-/* $NetBSD: hack.h,v 1.14 2011/07/02 02:10:33 mrg Exp $ */
+/* $NetBSD: hack.h,v 1.15 2011/08/06 19:47:54 dholland Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
@@ -69,11 +69,6 @@
#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"