diff options
Diffstat (limited to 'gdb/putenv.c')
-rw-r--r-- | gdb/putenv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/putenv.c b/gdb/putenv.c index d111e85..e2ea357 100644 --- a/gdb/putenv.c +++ b/gdb/putenv.c @@ -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 ); |