summaryrefslogtreecommitdiff
path: root/cesar/bsu/test/utest
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/bsu/test/utest')
-rw-r--r--cesar/bsu/test/utest/src/phy.c4
-rw-r--r--cesar/bsu/test/utest/src/tests.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/cesar/bsu/test/utest/src/phy.c b/cesar/bsu/test/utest/src/phy.c
index 071f98ef0c..f9ed1856b7 100644
--- a/cesar/bsu/test/utest/src/phy.c
+++ b/cesar/bsu/test/utest/src/phy.c
@@ -23,10 +23,10 @@ phy_clock_get_zero_cross_captured_date (phy_t *ctx)
}
u32
-phy_sysdate (phy_t *ctx) __attribute__((weak));
+phy_sysdate (void) __attribute__((weak));
u32
-phy_sysdate (phy_t *ctx)
+phy_sysdate (void)
{
return 0;
}
diff --git a/cesar/bsu/test/utest/src/tests.c b/cesar/bsu/test/utest/src/tests.c
index d1804717df..428e22ac5e 100644
--- a/cesar/bsu/test/utest/src/tests.c
+++ b/cesar/bsu/test/utest/src/tests.c
@@ -43,7 +43,7 @@ bsu_test_init (bsu_test_t *ctx)
ctx->mac_config.tei = 0x0;
ctx->mac_config.sta_mac_address = 0x123456789abcull;
ctx->mac_store = mac_store_init ();
- ctx->timer = hal_timer_init ((phy_t *) &ctx->phy);
+ ctx->timer = hal_timer_init ();
bsu_aclf_t *aclf = bsu_aclf_init ((phy_t*) &ctx->phy, &ctx->mac_config);
ctx->bsu = bsu_init (aclf, &ctx->mac_config, (phy_t*) &ctx->phy,
ctx->mac_store, (ca_t*) &ctx->ca, (sar_t*) ctx,