From 39dbff5615631522d3ef98b83141957038502c0d Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 16 Jan 2017 00:43:03 -0800 Subject: Various complaints found in AppVeyor build. --- tests/platform.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'tests/platform.c') 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); }) -- cgit v1.2.3-70-g09d2