diff options
| author | Ruben Kerkhof <ruben@rubenkerkhof.com> | 2019-01-24 10:12:36 +0100 |
|---|---|---|
| committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | 2019-01-24 11:21:59 +0100 |
| commit | 4d762f2607f07b55f464bae4ec0eb7fdf7c656a9 (patch) | |
| tree | c8e9c8056c9fec104ec152ccf254c282fa6a90c6 /bgpd/rfp-example | |
| parent | 262d4dda2aa009f200370a4c4635899ceb85ab90 (diff) | |
Treewide: use ANSI function definitions
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
Diffstat (limited to 'bgpd/rfp-example')
| -rw-r--r-- | bgpd/rfp-example/librfp/rfp_example.c | 2 | ||||
| -rw-r--r-- | bgpd/rfp-example/rfptest/rfptest.c | 2 |
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 e8f670cf12..060fc76550 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 48df6c0cc7..1036829b89 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); |
