]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/cli/cli-decode.c
s/NO_FUNCTION/NULL/
[thirdparty/binutils-gdb.git] / gdb / cli / cli-decode.c
index 0b7839c7e422aaccae3a3257e37ea77169d1133b..3821fafb186f1bbb924ef5ad28de2ebb07902508 100644 (file)
@@ -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;