extern char **environ;
-char *index();
+char *strchr();
char *malloc();
/****************************************************************/
/* Find the length of the "NAME=" */
- temp = index(entry,'=');
+ temp = strchr(entry,'=');
if ( temp == 0 )
return( -1 );
if ( new_environ == (char **) NULL )
return( -1 );
- (void) memcpy ((char *) new_environ, (char *) environ, size*PSIZE );
+ memcpy ((char *) new_environ, (char *) environ, size*PSIZE );
new_environ[size] = entry;
new_environ[size+1] = NULL;