common: remove unused functions or make static.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2021-12-04 21:56:06 +10:30
parent d9968bbc0c
commit 786732601c
17 changed files with 22 additions and 192 deletions

View File

@@ -282,18 +282,6 @@ void json_add_short_channel_id(struct json_stream *response,
short_channel_id_outnum(scid));
}
void json_add_short_channel_id_dir(struct json_stream *response,
const char *fieldname,
const struct short_channel_id_dir *scidd)
{
json_add_member(response, fieldname, true, "%dx%dx%d/%d",
short_channel_id_blocknum(&scidd->scid),
short_channel_id_txnum(&scidd->scid),
short_channel_id_outnum(&scidd->scid),
scidd->dir
);
}
void json_add_address(struct json_stream *response, const char *fieldname,
const struct wireaddr *addr)
{