--- ray/src/common/savestr.c 1989/02/02 13:53:43 1.2 +++ ray/src/common/savestr.c 1992/07/03 10:51:50 2.2 @@ -33,6 +33,8 @@ typedef struct s_head { static S_HEAD *stab[NHASH]; +static int shash(); + extern char *savestr(), *strcpy(), *malloc(); #define NULL 0 @@ -91,21 +93,6 @@ char *s; sfree(sp); return; } -} - - -int -strcmp(s1, s2) /* check for s1==s2 */ -register char *s1, *s2; -{ - if (s1 == s2) - return(0); - - while (*s1 == *s2++) - if (!*s1++) - return(0); - - return(*s1 - *--s2); }