Module Name: src
Committed By: dholland
Date: Sat Aug 6 19:47:54 UTC 2011
Modified Files:
src/games/hack: config.h hack.h
Log Message:
abolish references to index/rindex
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/games/hack/config.h
cvs rdiff -u -r1.14 -r1.15 src/games/hack/hack.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/games/hack/config.h
diff -u src/games/hack/config.h:1.8 src/games/hack/config.h:1.9
--- src/games/hack/config.h:1.8 Sat Aug 6 19:32:58 2011
+++ src/games/hack/config.h Sat Aug 6 19:47:54 2011
@@ -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.)
*/
Index: src/games/hack/hack.h
diff -u src/games/hack/hack.h:1.14 src/games/hack/hack.h:1.15
--- src/games/hack/hack.h:1.14 Sat Jul 2 02:10:33 2011
+++ src/games/hack/hack.h Sat Aug 6 19:47:54 2011
@@ -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"