summaryrefslogtreecommitdiffstats
path: root/vtysh/vtysh_config.c
diff options
context:
space:
mode:
authorRuben Kerkhof <ruben@rubenkerkhof.com>2019-01-24 10:12:36 +0100
committerRuben Kerkhof <ruben@rubenkerkhof.com>2019-01-24 11:21:59 +0100
commit4d762f2607f07b55f464bae4ec0eb7fdf7c656a9 (patch)
treec8e9c8056c9fec104ec152ccf254c282fa6a90c6 /vtysh/vtysh_config.c
parentMerge pull request #3508 from chiragshah6/evpn_dev2 (diff)
downloadfrr-4d762f2607f07b55f464bae4ec0eb7fdf7c656a9.tar.xz
frr-4d762f2607f07b55f464bae4ec0eb7fdf7c656a9.zip
Treewide: use ANSI function definitions
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
Diffstat (limited to 'vtysh/vtysh_config.c')
-rw-r--r--vtysh/vtysh_config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vtysh/vtysh_config.c b/vtysh/vtysh_config.c
index fe12f82ef..91e49c45c 100644
--- a/vtysh/vtysh_config.c
+++ b/vtysh/vtysh_config.c
@@ -516,7 +516,7 @@ int vtysh_read_config(const char *config_default_dir)
* be edited by hand. So, we handle only "write terminal" case here and
* integrate vtysh specific conf with conf from daemons.
*/
-void vtysh_config_write()
+void vtysh_config_write(void)
{
char line[81];
@@ -539,7 +539,7 @@ void vtysh_config_write()
user_config_write();
}
-void vtysh_config_init()
+void vtysh_config_init(void)
{
config_top = list_new();
config_top->del = (void (*)(void *))line_del;