diff options
author | K. Richard Pixley <rich@cygnus> | 1993-09-01 22:24:34 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1993-09-01 22:24:34 +0000 |
commit | c398de0cddd0a2215e9d9c0f563d40aa5f554692 (patch) | |
tree | 5218590d120aa12d82b127c3d62cce5adfaad6ee /gdb/xcoffread.c | |
parent | 98105ba26f77cb0406c8ea5abe73d3fd9a139794 (diff) | |
download | gdb-c398de0cddd0a2215e9d9c0f563d40aa5f554692.zip gdb-c398de0cddd0a2215e9d9c0f563d40aa5f554692.tar.gz gdb-c398de0cddd0a2215e9d9c0f563d40aa5f554692.tar.bz2 |
index -> strchr
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r-- | gdb/xcoffread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index 960d2d8..c6a138a 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -1627,7 +1627,7 @@ process_xcoff_symbol (cs, objfile) /* FIXME: I believe this is to avoid a Sun-specific hack somewhere. Needs more investigation. */ - if (*name == ':' || (pp = (char *) index (name, ':')) == NULL) + if (*name == ':' || (pp = (char *) strchr(name, ':')) == NULL) return NULL; ++pp; |