]> git.cameronkatri.com Git - bsdgames-darwin.git/commitdiff
Don't refer to index() in comments; use strchr().
authordholland <dholland@NetBSD.org>
Sat, 6 Aug 2011 19:23:38 +0000 (19:23 +0000)
committerdholland <dholland@NetBSD.org>
Sat, 6 Aug 2011 19:23:38 +0000 (19:23 +0000)
hack/def.objclass.h

index c382956917d34cbd25d8f95d74014000c6b76b7a..024e9bf7f3e943e69be03820536edfdbda50f5c2 100644 (file)
@@ -1,4 +1,4 @@
-/*     $NetBSD: def.objclass.h,v 1.6 2003/04/02 18:36:34 jsm Exp $     */
+/*     $NetBSD: def.objclass.h,v 1.7 2011/08/06 19:23:38 dholland Exp $        */
 
 /*
  * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
@@ -117,7 +117,7 @@ extern struct objclass objects[];
  * hack.mkobj.c:       char mkobjstr[] = "))[[!!!!????%%%%/=**";
  * hack.apply.c:   otmp = getobj("0#%", "put in");
  * hack.eat.c:     otmp = getobj("%", "eat");
- * hack.invent.c:          if(index("!%?[)=*(0/\"", sym)){
- * hack.invent.c:    || index("%?!*",otmp->olet))){
+ * hack.invent.c:          if(strchr("!%?[)=*(0/\"", sym)){
+ * hack.invent.c:    || strchr("%?!*",otmp->olet))){
  */
 #endif /* _DEF_OBJCLASS_H_ */