Commit 2e8dca6e authored by Jeroen Vreeken's avatar Jeroen Vreeken
Browse files

fix spg_test.c build warnings

parent 3159a6a5
......@@ -33,7 +33,7 @@
struct block {
char *name;
struct controller_block *(*create)(char *);
struct controller_block *(*create)(char *name, va_list ap);
};
struct param_misc {
......@@ -81,7 +81,7 @@ int main(int argc, char **argv)
/* Create blocks */
for (i = 0; controller_blocks[i].name; i++) {
block = controller_blocks[i].create(controller_blocks[i].name);
block = controller_blocks[i].create(controller_blocks[i].name, NULL);
if (!block)
printf("Could not create block %s\n",
controller_blocks[i].name);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment