summaryrefslogtreecommitdiffstats
path: root/vtysh/vtysh.h
diff options
context:
space:
mode:
Diffstat (limited to 'vtysh/vtysh.h')
-rw-r--r--vtysh/vtysh.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/vtysh/vtysh.h b/vtysh/vtysh.h
index e711d593..820e5506 100644
--- a/vtysh/vtysh.h
+++ b/vtysh/vtysh.h
@@ -36,7 +36,7 @@
/* vtysh local configuration file. */
#define VTYSH_DEFAULT_CONFIG "vtysh.conf"
-void vtysh_init_vty (void);
+struct vty* vtysh_init_vty (void);
void vtysh_init_cmd (void);
extern int vtysh_connect_all (const char *optional_daemon_name);
void vtysh_readline_init (void);
@@ -64,6 +64,4 @@ void vtysh_pager_init (void);
/* Child process execution flag. */
extern int execute_flag;
-extern struct vty *vty;
-
#endif /* VTYSH_H */