aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli/cli-decode.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-02-02 00:56:37 +0000
committerAndrew Cagney <cagney@redhat.com>2002-02-02 00:56:37 +0000
commite00d1dc8a5dbd8ab410d19b1a24d385f2410ba57 (patch)
treea6ed2a3114a3693262786a15e3731a16814c149a /gdb/cli/cli-decode.c
parent76b79d6ec8ffbc873e6d9c05617b621843d5bc3e (diff)
downloadgdb-e00d1dc8a5dbd8ab410d19b1a24d385f2410ba57.zip
gdb-e00d1dc8a5dbd8ab410d19b1a24d385f2410ba57.tar.gz
gdb-e00d1dc8a5dbd8ab410d19b1a24d385f2410ba57.tar.bz2
s/NO_FUNCTION/NULL/
Diffstat (limited to 'gdb/cli/cli-decode.c')
-rw-r--r--gdb/cli/cli-decode.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c
index 0b7839c..3821faf 100644
--- a/gdb/cli/cli-decode.c
+++ b/gdb/cli/cli-decode.c
@@ -237,13 +237,12 @@ add_set_cmd (char *name,
char *doc,
struct cmd_list_element **list)
{
- struct cmd_list_element *c
- = add_cmd (name, class, NO_FUNCTION, doc, list);
+ struct cmd_list_element *c = add_cmd (name, class, NULL, doc, list);
c->type = set_cmd;
c->var_type = var_type;
c->var = var;
- /* This needs to be something besides NO_FUNCTION so that this isn't
+ /* This needs to be something besides NULL so that this isn't
treated as a help class. */
c->function.sfunc = empty_sfunc;
return c;