diff options
author | hasso <hasso> | 2004-11-28 21:16:20 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-11-28 21:16:20 +0000 |
commit | 3d2b4c168125994976a46ac153f83dc7de6ea354 (patch) | |
tree | cffdb83c212e254c045c3a459090fd6829d62ccf /lib | |
parent | 60f858ad40c1c1d7245fde0433ea67b2a0dad0ed (diff) | |
download | quagga-3d2b4c168125994976a46ac153f83dc7de6ea354.tar.bz2 quagga-3d2b4c168125994976a46ac153f83dc7de6ea354.tar.xz |
DEFUN_DEPRECATED passes attribute to DEFUN as well.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ChangeLog | 4 | ||||
-rw-r--r-- | lib/command.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog index db1f560f..74862d22 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -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 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) \ |