aboutsummaryrefslogtreecommitdiff
path: root/gdb/f-lang.c
diff options
context:
space:
mode:
authorMarkus Deuling <deuling@de.ibm.com>2008-01-16 11:21:42 +0000
committerMarkus Deuling <deuling@de.ibm.com>2008-01-16 11:21:42 +0000
commit7ecb65322d700054f2ef34d1443aa59b9bb81928 (patch)
tree4cb89401216ab02ee3c6074f178aebc22d711b5c /gdb/f-lang.c
parentd15cf01ce69cf0a35bd024691db9a4ec13525887 (diff)
downloadgdb-7ecb65322d700054f2ef34d1443aa59b9bb81928.zip
gdb-7ecb65322d700054f2ef34d1443aa59b9bb81928.tar.gz
gdb-7ecb65322d700054f2ef34d1443aa59b9bb81928.tar.bz2
* rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace
DEPRECATED_STREQ by its expression. * coffread.c (coff_locate_sections, coff_symtab_read): Likewise. * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos) (scan_xcoff_symtab): Likewise. * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise. * f-lang.c (find_common_for_function): Likewise. * objc-exp.y (parse_number): Likewise. * defs.h (DEPRECATED_STREQ): Remove.
Diffstat (limited to 'gdb/f-lang.c')
-rw-r--r--gdb/f-lang.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/f-lang.c b/gdb/f-lang.c
index 74c5bd9..fb169fb 100644
--- a/gdb/f-lang.c
+++ b/gdb/f-lang.c
@@ -637,8 +637,8 @@ find_common_for_function (char *name, char *funcname)
while (tmp != NULL)
{
- if (DEPRECATED_STREQ (tmp->name, name)
- && DEPRECATED_STREQ (tmp->owning_function, funcname))
+ if (strcmp (tmp->name, name) == 0
+ && strcmp (tmp->owning_function, funcname) == 0)
return (tmp);
else
tmp = tmp->next;