aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
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/defs.h
parent8038e1e2b1e8d83aa68a88c77ab5b58eb74e7938 (diff)
downloadgdb-494b7ec97ed90fe6aa44e6d4cfe94554b9b5f10f.zip
gdb-494b7ec97ed90fe6aa44e6d4cfe94554b9b5f10f.tar.gz
gdb-494b7ec97ed90fe6aa44e6d4cfe94554b9b5f10f.tar.bz2
Replace STRCMP with strcmp()
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 87e570f..b5fe805 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -148,7 +148,6 @@ typedef bfd_vma CORE_ADDR;
issue is found that we spend the effort on algorithmic
optimizations than micro-optimizing.'' J.T. */
-#define STRCMP(a,b) (*(a) == *(b) ? strcmp ((a), (b)) : (int)*(a) - (int)*(b))
#define STREQ(a,b) (*(a) == *(b) ? !strcmp ((a), (b)) : 0)
#define STREQN(a,b,c) (*(a) == *(b) ? !strncmp ((a), (b), (c)) : 0)