From: David Lamparter Date: Wed, 16 Nov 2016 06:02:04 +0000 (+0900) Subject: lib: make DEFUN foobar_cmd symbols static X-Git-Tag: frr-3.0-branchpoint~133^2~7 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=555a5bfe1541ba77ccfe410dd515c9f9037a0a07;p=mirror%2Ffrr.git lib: make DEFUN foobar_cmd symbols static These are not externally referenced anymore; this reduces the symbol count of libzebra by quite a bit. Signed-off-by: David Lamparter --- diff --git a/lib/command.h b/lib/command.h index a170a9549d..a38f436884 100644 --- a/lib/command.h +++ b/lib/command.h @@ -237,7 +237,7 @@ struct cmd_element /* helper defines for end-user DEFUN* macros */ #define DEFUN_CMD_ELEMENT(funcname, cmdname, cmdstr, helpstr, attrs, dnum) \ - struct cmd_element cmdname = \ + static struct cmd_element cmdname = \ { \ .string = cmdstr, \ .func = funcname, \