learn-c-the-hard-way-lectures icon indicating copy to clipboard operation
learn-c-the-hard-way-lectures copied to clipboard

update ex30.c

Open rithma opened this issue 7 years ago • 0 comments

I keep getting this bug, can we lose the "int stuff"? int stuff isn't in the code 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)
^

your student /Etienne

rithma avatar Apr 25 '17 23:04 rithma