diff options
author | dholland <dholland@NetBSD.org> | 2011-08-06 19:23:38 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2011-08-06 19:23:38 +0000 |
commit | 7f11a4173ed8876918a6035e8e1f758235c25055 (patch) | |
tree | 66d8445a6a608ae7e74b7a3c9b39044c1f495850 /hack | |
parent | 91f08ba2ec9466907efaa6807f0115ad3d5ccf79 (diff) | |
download | bsdgames-darwin-7f11a4173ed8876918a6035e8e1f758235c25055.tar.gz bsdgames-darwin-7f11a4173ed8876918a6035e8e1f758235c25055.tar.zst bsdgames-darwin-7f11a4173ed8876918a6035e8e1f758235c25055.zip |
Don't refer to index() in comments; use strchr().
Diffstat (limited to 'hack')
-rw-r--r-- | hack/def.objclass.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hack/def.objclass.h b/hack/def.objclass.h index c3829569..024e9bf7 100644 --- a/hack/def.objclass.h +++ b/hack/def.objclass.h @@ -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_ */ |