Skip to content

Commit

Permalink
cleanup: Remove stdio header from param.c
Browse files Browse the repository at this point in the history
  • Loading branch information
cdecker authored and rustyrussell committed Dec 8, 2020
1 parent 55d9492 commit 47b8b46
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions common/param.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,6 @@ static struct command_result *param_arr(struct command *cmd, const char *buffer,
"Expected array or object for params");
}

#include <stdio.h>

const char *param_subcommand(struct command *cmd, const char *buffer,
const jsmntok_t tokens[],
const char *name, ...)
Expand Down
1 change: 1 addition & 0 deletions common/test/run-param.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <common/setup.h>
#include <setjmp.h>
#include <signal.h>
#include <stdio.h>
#include <unistd.h>
#include <wire/wire.h>

Expand Down

0 comments on commit 47b8b46

Please sign in to comment.