summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDirk Ziegelmeier <[email protected]>2018-01-11 09:53:07 +0100
committerDirk Ziegelmeier <[email protected]>2018-01-11 09:53:07 +0100
commitb6b14438b740bf5bba569e1d0579a0b0334900ea (patch)
treec777076ead2b386cc95bbd5510e2985597affa7f /test
parentc257b56a39d89fa0330394e9978ec7c2e878c6f3 (diff)
Rename lwip_sys_timers_get_next_timout() to sys_timeouts_get_next_timeout()
Diffstat (limited to 'test')
-rw-r--r--test/unit/core/test_timers.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/core/test_timers.c b/test/unit/core/test_timers.c
index f0bf91bd..39804230 100644
--- a/test/unit/core/test_timers.c
+++ b/test/unit/core/test_timers.c
@@ -11,7 +11,7 @@ static struct sys_timeo* old_list_head;
static void
timers_setup(void)
{
- struct sys_timeo** list_head = lwip_sys_timers_get_next_timout();
+ struct sys_timeo** list_head = sys_timeouts_get_next_timeout();
old_list_head = *list_head;
*list_head = NULL;
}
@@ -19,7 +19,7 @@ timers_setup(void)
static void
timers_teardown(void)
{
- struct sys_timeo** list_head = lwip_sys_timers_get_next_timout();
+ struct sys_timeo** list_head = sys_timeouts_get_next_timeout();
*list_head = old_list_head;
lwip_sys_now = 0;
}
@@ -46,7 +46,7 @@ struct lwip_cyclic_timer test_cyclic = {10, dummy_cyclic_handler};
static void
do_test_cyclic_timers(u32_t offset)
{
- struct sys_timeo** list_head = lwip_sys_timers_get_next_timout();
+ struct sys_timeo** list_head = sys_timeouts_get_next_timeout();
/* verify normal timer expiration */
lwip_sys_now = offset + 0;
@@ -127,7 +127,7 @@ END_TEST
static void
do_test_timers(u32_t offset)
{
- struct sys_timeo** list_head = lwip_sys_timers_get_next_timout();
+ struct sys_timeo** list_head = sys_timeouts_get_next_timeout();
lwip_sys_now = offset + 0;