version 1.97 | | version 1.98 |
---|
| | |
/* | | /* |
* static char *rcsid_object_c = | | * static char *rcsid_object_c = |
* "$Id: object.c,v 1.97 2005/07/15 13:51:49 ryo_saeba Exp $"; | | * "$Id: object.c,v 1.98 2005/08/12 13:46:34 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
*/ | | */ |
| | |
object *find_object_name(char *str) { | | object *find_object_name(char *str) { |
char *name=add_string(str); | | const char *name=add_string(str); |
object *op; | | object *op; |
for(op=objects;op!=NULL;op=op->next) | | for(op=objects;op!=NULL;op=op->next) |
if(op->name==name) | | if(op->name==name) |