From a0a534b2543590119388ff8fb826e728063edfa0 Mon Sep 17 00:00:00 2001 From: dholland Date: Sat, 6 Aug 2011 19:47:54 +0000 Subject: abolish references to index/rindex --- hack/config.h | 6 ++---- hack/hack.h | 7 +------ 2 files changed, 3 insertions(+), 10 deletions(-) (limited to 'hack') 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 @@ * * * - * 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 #include -#ifndef BSD -#define index strchr -#define rindex strrchr -#endif /* BSD */ - #define Null(type) ((struct type *) 0) #include "def.objclass.h" -- cgit v1.2.3-56-ge451