abolish references to index/rindex

This commit is contained in:
dholland 2011-08-06 19:47:54 +00:00
parent 813e3e415d
commit d30849d1cd
2 changed files with 3 additions and 10 deletions

View File

@ -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.)
*/

View File

@ -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"