ipa-otpd: suppress "function declaration isn't a prototype" warning
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
1 parent
31b70ee324
commit
9caea3205c
1 file changed
+6
-6
@@ -69,7 +69,7 @@ static void assert_elt_equal(struct otpd_queue_item *e1,
|
||||
assert_int_equal(e1->msgid, e2->msgid);
|
||||
}
|
||||
|
||||
static void test_single_insert()
|
||||
static void test_single_insert(void **state)
|
||||
{
|
||||
struct otpd_queue q = { NULL };
|
||||
struct otpd_queue_item *ein, *eout;
|
||||
@@ -90,7 +90,7 @@ static void test_single_insert()
|
||||
free_elts(&q);
|
||||
}
|
||||
|
||||
static void test_jump_insert()
|
||||
static void test_jump_insert(void **state)
|
||||
{
|
||||
struct otpd_queue q = { NULL };
|
||||
struct otpd_queue_item *echeck;
|
||||
@@ -106,7 +106,7 @@ static void test_jump_insert()
|
||||
free_elts(&q);
|
||||
}
|
||||
|
||||
static void test_garbage_insert()
|
||||
static void test_garbage_insert(void **state)
|
||||
{
|
||||
struct otpd_queue q = { NULL };
|
||||
struct otpd_queue_item *e, *g;
|
||||
@@ -121,7 +121,7 @@ static void test_garbage_insert()
|
||||
free_elts(&q);
|
||||
}
|
||||
|
||||
static void test_removal()
|
||||
static void test_removal(void **state)
|
||||
{
|
||||
struct otpd_queue q = { NULL };
|
||||
|
||||
@@ -149,7 +149,7 @@ static void pick_id(struct otpd_queue *q, int msgid)
|
||||
e = otpd_queue_pop_msgid(q, msgid);
|
||||
assert_ptr_equal(e, NULL);
|
||||
}
|
||||
static void test_pick_removal()
|
||||
static void test_pick_removal(void **state)
|
||||
{
|
||||
struct otpd_queue q = { NULL };
|
||||
|
||||
@@ -166,7 +166,7 @@ static void test_pick_removal()
|
||||
free_elts(&q);
|
||||
}
|
||||
|
||||
static void test_iter()
|
||||
static void test_iter(void **state)
|
||||
{
|
||||
krb5_error_code ret;
|
||||
struct otpd_queue q = { NULL };
|
||||
|
||||
Reference in new issue
Block a user