diff --git a/tests/fpga.c b/tests/fpga.c index 34c0a674c..79b808a82 100644 --- a/tests/fpga.c +++ b/tests/fpga.c @@ -32,8 +32,7 @@ #define CPU_HZ 3392389000 static struct fpga_card *card; - -static struct cfg cfg; +static struct super_node cfg; static void init() { diff --git a/tests/hist.c b/tests/hist.c index 19b10dcaa..58221c7df 100644 --- a/tests/hist.c +++ b/tests/hist.c @@ -18,7 +18,7 @@ Test(hist, simple) { struct hist h; int ret; - ret = hist_create(&h, -100, 100, 1); + ret = hist_init(&h, -100, 100, 1); cr_assert_eq(ret, 0); for (int i = 0; i < ARRAY_LEN(test_data); i++)