From: ceriel Date: Mon, 21 Aug 1989 17:03:05 +0000 (+0000) Subject: use strindex instead of index X-Git-Tag: release-5-5~2277 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=360caa08bb3ff5f00a48e9f68362afb9ce2ac37a;p=ack.git use strindex instead of index --- diff --git a/mach/m68020/ce/as.c b/mach/m68020/ce/as.c index ac869915b..8a048abef 100644 --- a/mach/m68020/ce/as.c +++ b/mach/m68020/ce/as.c @@ -21,7 +21,7 @@ process_operand( str, op) register char *str; register struct t_operand *op; { - char *glob_lbl(); + char *glob_lbl(), *strindex(); op->type = 0; @@ -46,7 +46,7 @@ register struct t_operand *op; op->lbl = NULL; break; - case '(' : if ( index( str+1, ',') == NULL) + case '(' : if ( strindex( str+1, ',') == NULL) if ( is_reg( str+1)) { op->reg = reg_val( str+1);