From 851a00e7152f9d48a453ca75b345bcb11b6966d0 Mon Sep 17 00:00:00 2001 From: rithma Date: Tue, 25 Apr 2017 16:41:10 -0700 Subject: [PATCH] update ex30.c I kept getting this bug, can we lose the "int stuff"? int stuff isn't in the book... ----------------------------------------------------------------- src/ex30.c:30:5: error: too few arguments to function call, single argument 'stuff' was not specified mu_run_test(test_dlopen); ^ ~~~~~~~~~~~ src/minunit.h:14:20: note: expanded from macro 'mu_run_test' message = test(); tests_run++; if (message) return message; ^ src/ex30.c:3:1: note: 'test_dlopen' declared here char *test_dlopen(int stuff) ^ ----------------------------------------------------------------- --- ex30/ex30.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ex30/ex30.c b/ex30/ex30.c index de38478..bd92ba2 100644 --- a/ex30/ex30.c +++ b/ex30/ex30.c @@ -1,6 +1,6 @@ #include "minunit.h" -char *test_dlopen(int stuff) +char *test_dlopen() { return NULL; }