summaryrefslogtreecommitdiff
path: root/tests/bgpd/test_aspath.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bgpd/test_aspath.c')
-rw-r--r--tests/bgpd/test_aspath.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bgpd/test_aspath.c b/tests/bgpd/test_aspath.c
index d2d960f278..b2612892f9 100644
--- a/tests/bgpd/test_aspath.c
+++ b/tests/bgpd/test_aspath.c
@@ -1074,7 +1074,7 @@ static int validate(struct aspath *as, const struct test_spec *sp)
return fails;
}
-static void empty_get_test()
+static void empty_get_test(void)
{
struct aspath *as = aspath_empty_get();
struct test_spec sp = {"", "", 0, 0, 0, 0, 0, 0};
@@ -1219,7 +1219,7 @@ static void aggregate_test(struct tests *t)
}
/* cmp_left tests */
-static void cmp_test()
+static void cmp_test(void)
{
unsigned int i;
#define CMP_TESTS_MAX (sizeof(left_compare) / sizeof(struct compare_tests))