From: hasso Date: Sun, 28 Nov 2004 21:16:20 +0000 (+0000) Subject: DEFUN_DEPRECATED passes attribute to DEFUN as well. X-Git-Tag: frr-2.0-rc1~3351 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=2557aed16aa98f90d70a14ad4546742c79af7668;p=mirror%2Ffrr.git DEFUN_DEPRECATED passes attribute to DEFUN as well. --- diff --git a/lib/ChangeLog b/lib/ChangeLog index db1f560fab..74862d22f9 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2004-11-28 Hasso Tepper + + * command.h: DEFUN_DEPRECATED passes attribute to DEFUN as well. + 2004-11-26 Andrew J. Schorr * log.c, log.h, memory.c: Change function name from zlog_backtrace_safe diff --git a/lib/command.h b/lib/command.h index d357698daa..ceb9c6f500 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) \