summaryrefslogtreecommitdiffstats
path: root/vtysh
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-07-22 22:12:22 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-07-22 22:12:22 +0200
commit7ce2a26cd71e911aff90ff181555e8f362127a6c (patch)
tree0e19501d24b53e3d44eb7f07c5a76c7312884508 /vtysh
parentptm-integration.patch (diff)
downloadfrr-7ce2a26cd71e911aff90ff181555e8f362127a6c.tar.xz
frr-7ce2a26cd71e911aff90ff181555e8f362127a6c.zip
Fixup of some last remaining differences between stg and git
Diffstat (limited to 'vtysh')
-rw-r--r--vtysh/vtysh.c1
-rw-r--r--vtysh/vtysh_user.c3
2 files changed, 1 insertions, 3 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index b1c9f453b..bf2d01ca2 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -2020,6 +2020,7 @@ backup_config_file (const char *fbackup)
static int
write_config_integrated(void)
{
+ int ret;
u_int i;
char line[] = "write terminal\n";
FILE *fp, *fp1;
diff --git a/vtysh/vtysh_user.c b/vtysh/vtysh_user.c
index 27a5fdf98..a17f7a717 100644
--- a/vtysh/vtysh_user.c
+++ b/vtysh/vtysh_user.c
@@ -38,9 +38,6 @@
#include "linklist.h"
#include "command.h"
-extern struct list *config_top;
-extern void config_add_line(struct list *config, const char *line);
-
/*
* Compiler is warning about prototypes not being declared.
* The DEFUNSH and DEFUN macro's are messing with the