summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
authorhasso <hasso>2004-11-28 21:16:20 +0000
committerhasso <hasso>2004-11-28 21:16:20 +0000
commit2557aed16aa98f90d70a14ad4546742c79af7668 (patch)
treed3d6d892c9ff06653333a5bca1627da078b63930 /lib/command.h
parent48d6c69b345096425644b7796a7bc6b36bf0e974 (diff)
DEFUN_DEPRECATED passes attribute to DEFUN as well.
Diffstat (limited to 'lib/command.h')
-rw-r--r--lib/command.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command.h b/lib/command.h
index d357698d..ceb9c6f5 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -204,7 +204,7 @@ struct desc
DEFUN_ATTR (funcname, cmdname, cmdstr, helpstr, CMD_ATTR_HIDDEN)
#define DEFUN_DEPRECATED(funcname, cmdname, cmdstr, helpstr) \
- DEFUN (funcname, cmdname, cmdstr, helpstr, CMD_ATTR_DEPRECATED) \
+ DEFUN_ATTR (funcname, cmdname, cmdstr, helpstr, CMD_ATTR_DEPRECATED) \
/* DEFUN_NOSH for commands that vtysh should ignore */
#define DEFUN_NOSH(funcname, cmdname, cmdstr, helpstr) \