From 73dbb889f685e103583cd9509ea795d8d4ad1cbb Mon Sep 17 00:00:00 2001 From: ZmnSCPxj Date: Fri, 28 Jun 2019 01:34:37 +0000 Subject: [PATCH] lightningd/jsonrpc.h: Add missing declaration of command_fail. --- lightningd/jsonrpc.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lightningd/jsonrpc.h b/lightningd/jsonrpc.h index ebfaa3f8ab3d..50af1985fc66 100644 --- a/lightningd/jsonrpc.h +++ b/lightningd/jsonrpc.h @@ -120,6 +120,10 @@ struct command_result *command_failed(struct command *cmd, struct json_stream *result) WARN_UNUSED_RESULT; +struct command_result *command_fail(struct command *cmd, int code, + const char *fmt, ...) + WARN_UNUSED_RESULT; + /* Mainly for documentation, that we plan to close this later. */ struct command_result *command_still_pending(struct command *cmd) WARN_UNUSED_RESULT;