From 4c0ea89fe0103dabb311bd400f9720b601807842 Mon Sep 17 00:00:00 2001 From: ceriel Date: Mon, 21 Aug 1989 16:56:15 +0000 Subject: [PATCH] use strindex instead of index --- mach/sun3/ce/as.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mach/sun3/ce/as.c b/mach/sun3/ce/as.c index ac869915b..8a048abef 100644 --- a/mach/sun3/ce/as.c +++ b/mach/sun3/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);