* serial.h (SERIAL_SET_TTY_STATE): Comment return value.
[deliverable/binutils-gdb.git] / gdb / putenv.c
index d111e85d251d1f38da9d244bd013a56c14f8990f..e2ea3572d91df58ecb5c0d2e62d349258938d293 100644 (file)
@@ -30,7 +30,7 @@ domain program.
 
 extern  char  **environ;
 
-char  *index();
+char  *strchr();
 char  *malloc();
 
 /****************************************************************/
@@ -74,7 +74,7 @@ putenv( entry )
 
   /*  Find the length of the "NAME="  */
 
-  temp = index(entry,'=');
+  temp = strchr(entry,'=');
   if ( temp == 0 )
     return( -1 );
 
This page took 0.023068 seconds and 4 git commands to generate.