diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2016-11-16 07:02:04 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2016-12-01 17:25:56 +0100 |
commit | 555a5bfe1541ba77ccfe410dd515c9f9037a0a07 (patch) | |
tree | fed451f9141d9d7bcedb31e52267d370168dc06b /lib/command.h | |
parent | *: make DEFUN installations file-local (diff) | |
download | frr-555a5bfe1541ba77ccfe410dd515c9f9037a0a07.tar.xz frr-555a5bfe1541ba77ccfe410dd515c9f9037a0a07.zip |
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 <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/command.h')
-rw-r--r-- | lib/command.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command.h b/lib/command.h index a170a9549..a38f43688 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, \ |