From 3d2b4c168125994976a46ac153f83dc7de6ea354 Mon Sep 17 00:00:00 2001 From: hasso Date: Sun, 28 Nov 2004 21:16:20 +0000 Subject: DEFUN_DEPRECATED passes attribute to DEFUN as well. --- lib/command.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/command.h') 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) \ -- cgit v1.2.3