DEFUN_DEPRECATED passes attribute to DEFUN as well.

This commit is contained in:
hasso 2004-11-28 21:16:20 +00:00
parent 48d6c69b34
commit 2557aed16a
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-11-28 Hasso Tepper <hasso at quagga.net>
* command.h: DEFUN_DEPRECATED passes attribute to DEFUN as well.
2004-11-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* log.c, log.h, memory.c: Change function name from zlog_backtrace_safe

View File

@ -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) \