plugins/libplugin: make headers update-mocks friendly.

In particular, it expects return type at start of line.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2021-05-21 14:53:05 +09:30
parent 6f71aae336
commit 52e5ca3c11
2 changed files with 20 additions and 20 deletions

View File

@@ -229,8 +229,8 @@ static struct command_result *command_complete(struct command *cmd,
return &complete;
}
struct command_result *WARN_UNUSED_RESULT
command_finished(struct command *cmd, struct json_stream *response)
struct command_result *command_finished(struct command *cmd,
struct json_stream *response)
{
/* "result" or "error" object */
json_object_end(response);