aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-01-19 08:01:47 +0000
committerAndrew Cagney <cagney@redhat.com>2001-01-19 08:01:47 +0000
commit494b7ec97ed90fe6aa44e6d4cfe94554b9b5f10f (patch)
tree98b956ec422e9523d7a437d6310eed8b464d7458 /gdb/symtab.c
parent8038e1e2b1e8d83aa68a88c77ab5b58eb74e7938 (diff)
downloadgdb-494b7ec97ed90fe6aa44e6d4cfe94554b9b5f10f.zip
gdb-494b7ec97ed90fe6aa44e6d4cfe94554b9b5f10f.tar.gz
gdb-494b7ec97ed90fe6aa44e6d4cfe94554b9b5f10f.tar.bz2
Replace STRCMP with strcmp()
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 3b5e1a0..832fb01 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -1004,7 +1004,7 @@ lookup_partial_symbol (struct partial_symtab *pst, const char *name, int global,
{
do_linear_search = 1;
}
- if (STRCMP (SYMBOL_SOURCE_NAME (*center), name) >= 0)
+ if (strcmp (SYMBOL_SOURCE_NAME (*center), name) >= 0)
{
top = center;
}
@@ -1237,7 +1237,7 @@ lookup_block_symbol (register const struct block *block, const char *name,
{
top = inc;
}
- else if (STRCMP (SYMBOL_SOURCE_NAME (sym), name) < 0)
+ else if (strcmp (SYMBOL_SOURCE_NAME (sym), name) < 0)
{
bot = inc;
}