aboutsummaryrefslogtreecommitdiff
path: root/gdb/command.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
commite00d1dc8a5dbd8ab410d19b1a24d385f2410ba57 (patch)
treea6ed2a3114a3693262786a15e3731a16814c149a /gdb/command.h
parent76b79d6ec8ffbc873e6d9c05617b621843d5bc3e (diff)
downloadfsf-binutils-gdb-e00d1dc8a5dbd8ab410d19b1a24d385f2410ba57.zip
fsf-binutils-gdb-e00d1dc8a5dbd8ab410d19b1a24d385f2410ba57.tar.gz
fsf-binutils-gdb-e00d1dc8a5dbd8ab410d19b1a24d385f2410ba57.tar.bz2
s/NO_FUNCTION/NULL/
Diffstat (limited to 'gdb/command.h')
-rw-r--r--gdb/command.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/command.h b/gdb/command.h
index ffbabba..205fb90 100644
--- a/gdb/command.h
+++ b/gdb/command.h
@@ -126,9 +126,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: */
@@ -139,7 +138,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,