aboutsummaryrefslogtreecommitdiff
path: root/tests/platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/platform.c')
-rw-r--r--tests/platform.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/platform.c b/tests/platform.c
index 0ac881d6..fb8ee2a7 100644
--- a/tests/platform.c
+++ b/tests/platform.c
@@ -66,9 +66,16 @@ notifyafter(void *arg)
nni_mtx_unlock(&na->mx);
}
+int
+nop(void)
+{
+ return (0);
+}
+
TestMain("Platform Operations", {
- int rv = nni_init(); // This is required for anything else to work
+ // This is required for anything else to work
+ int rv = nni_plat_init(nop);
Convey("Platform init worked", {
So(rv == 0);
})