summaryrefslogtreecommitdiffstats
path: root/bgpd/rfp-example
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/rfp-example')
-rw-r--r--bgpd/rfp-example/librfp/rfp_example.c2
-rw-r--r--bgpd/rfp-example/rfptest/rfptest.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/rfp-example/librfp/rfp_example.c b/bgpd/rfp-example/librfp/rfp_example.c
index e8f670cf1..060fc7655 100644
--- a/bgpd/rfp-example/librfp/rfp_example.c
+++ b/bgpd/rfp-example/librfp/rfp_example.c
@@ -107,7 +107,7 @@ DEFUN (rfp_full_table_download,
return CMD_SUCCESS;
}
-static void rfp_vty_install()
+static void rfp_vty_install(void)
{
static int installed = 0;
if (installed) /* do this only once */
diff --git a/bgpd/rfp-example/rfptest/rfptest.c b/bgpd/rfp-example/rfptest/rfptest.c
index 48df6c0cc..1036829b8 100644
--- a/bgpd/rfp-example/rfptest/rfptest.c
+++ b/bgpd/rfp-example/rfptest/rfptest.c
@@ -26,7 +26,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "rfptest.h"
-int main()
+int main(void)
{
printf("Your test code goes here.\n");
exit(1);