summaryrefslogtreecommitdiffstats
path: root/vtysh/vtysh_main.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2015-03-04 07:07:01 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-06-08 19:46:41 +0200
commit4201dd1143cccc856dbfbd971582ee39500c0e38 (patch)
tree2c00a2267ac318f0ba41d996ef9112dc131822e9 /vtysh/vtysh_main.c
parentvtysh: don't use '\0' as NULL (diff)
downloadfrr-4201dd1143cccc856dbfbd971582ee39500c0e38.tar.xz
frr-4201dd1143cccc856dbfbd971582ee39500c0e38.zip
vtysh: fix function prototypes
This makes a whole bunch of vtysh functions static, fixes prototypes for a few more, and masks user_free() and user_write_config() (both unused.) Signed-off-by: David Lamparter <equinox@opensourcerouting.org> (cherry picked from commit a9eb9063071437f5cde3b78adf273b428c49d378)
Diffstat (limited to 'vtysh/vtysh_main.c')
-rw-r--r--vtysh/vtysh_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vtysh/vtysh_main.c b/vtysh/vtysh_main.c
index 667c88e57..41104eaee 100644
--- a/vtysh/vtysh_main.c
+++ b/vtysh/vtysh_main.c
@@ -36,6 +36,7 @@
#include "command.h"
#include "memory.h"
#include "privs.h"
+#include "linklist.h"
#include "vtysh/vtysh.h"
#include "vtysh/vtysh_user.h"