diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-01-19 08:01:47 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-01-19 08:01:47 +0000 |
commit | 494b7ec97ed90fe6aa44e6d4cfe94554b9b5f10f (patch) | |
tree | 98b956ec422e9523d7a437d6310eed8b464d7458 /gdb/cli | |
parent | 8038e1e2b1e8d83aa68a88c77ab5b58eb74e7938 (diff) | |
download | gdb-494b7ec97ed90fe6aa44e6d4cfe94554b9b5f10f.zip gdb-494b7ec97ed90fe6aa44e6d4cfe94554b9b5f10f.tar.gz gdb-494b7ec97ed90fe6aa44e6d4cfe94554b9b5f10f.tar.bz2 |
Replace STRCMP with strcmp()
Diffstat (limited to 'gdb/cli')
-rw-r--r-- | gdb/cli/cli-decode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c index 42c1267..76e8447 100644 --- a/gdb/cli/cli-decode.c +++ b/gdb/cli/cli-decode.c @@ -67,7 +67,7 @@ add_cmd (char *name, enum command_class class, void (*fun) (char *, int), delete_cmd (name, list); - if (*list == NULL || STRCMP ((*list)->name, name) >= 0) + if (*list == NULL || strcmp ((*list)->name, name) >= 0) { c->next = *list; *list = c; @@ -75,7 +75,7 @@ add_cmd (char *name, enum command_class class, void (*fun) (char *, int), else { p = *list; - while (p->next && STRCMP (p->next->name, name) <= 0) + while (p->next && strcmp (p->next->name, name) <= 0) { p = p->next; } @@ -312,7 +312,7 @@ add_show_from_set (struct cmd_list_element *setcmd, else fprintf_unfiltered (gdb_stderr, "GDB internal error: Bad docstring for set command\n"); - if (*list == NULL || STRCMP ((*list)->name, showcmd->name) >= 0) + if (*list == NULL || strcmp ((*list)->name, showcmd->name) >= 0) { showcmd->next = *list; *list = showcmd; @@ -320,7 +320,7 @@ add_show_from_set (struct cmd_list_element *setcmd, else { p = *list; - while (p->next && STRCMP (p->next->name, showcmd->name) <= 0) + while (p->next && strcmp (p->next->name, showcmd->name) <= 0) { p = p->next; } |