summaryrefslogtreecommitdiff
path: root/gdb/cli/cli-decode.h
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
commite4bd67c61ebd902b89a95c156b7d4427ca9cc09b (patch)
treedb10d7e915fb5c308b55d39f01e693c959d8f904 /gdb/cli/cli-decode.h
parent9c1b09fc53943ce1a713163915cc12d4bb9e65d7 (diff)
downloadgdb-e4bd67c61ebd902b89a95c156b7d4427ca9cc09b.tar.gz
s/NO_FUNCTION/NULL/
Diffstat (limited to 'gdb/cli/cli-decode.h')
-rw-r--r--gdb/cli/cli-decode.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/cli/cli-decode.h b/gdb/cli/cli-decode.h
index e9e354eec0f..9e1e0944cb0 100644
--- a/gdb/cli/cli-decode.h
+++ b/gdb/cli/cli-decode.h
@@ -120,9 +120,8 @@ struct cmd_list_element
/* Command class; class values are chosen by application program. */
enum command_class class;
- /* Function definition of this command.
- NO_FUNCTION for command class names and for help topics that
- are not really commands. */
+ /* Function definition of this command. NULL for command class
+ names and for help topics that are not really commands. */
union
{
/* If type is not_set_cmd, call it like this: */
@@ -133,7 +132,6 @@ struct cmd_list_element
void (*sfunc) (char *args, int from_tty, struct cmd_list_element * c);
}
function;
-#define NO_FUNCTION ((void (*) (char *args, int from_tty)) 0)
/* Documentation of this command (or help topic).
First line is brief documentation; remaining lines form, with it,