mirror of
https://github.com/ElementsProject/lightning.git
synced 2026-08-18 13:08:13 +02:00
update-mocks: make sure we can find json_add functions.
These are on start of line, which is unexpected. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
175c869b6b
commit
ebca6e1ea3
1 changed files with 5 additions and 5 deletions
|
|
@ -85,8 +85,8 @@ void json_stream_append_part(struct json_stream *js, const char *str,
|
|||
* @js: the json_stream.
|
||||
* @fmt...: the printf-style format
|
||||
*/
|
||||
void PRINTF_FMT(2,3)
|
||||
json_stream_append_fmt(struct json_stream *js, const char *fmt, ...);
|
||||
PRINTF_FMT(2,3)
|
||||
void json_stream_append_fmt(struct json_stream *js, const char *fmt, ...);
|
||||
|
||||
/**
|
||||
* json_add_member - add a generic member.
|
||||
|
|
@ -94,9 +94,9 @@ json_stream_append_fmt(struct json_stream *js, const char *fmt, ...);
|
|||
* @fieldname: optional fieldname.
|
||||
* @fmt...: the printf-style format
|
||||
*/
|
||||
void PRINTF_FMT(3,4)
|
||||
json_add_member(struct json_stream *js, const char *fieldname,
|
||||
const char *fmt, ...);
|
||||
PRINTF_FMT(3,4)
|
||||
void json_add_member(struct json_stream *js, const char *fieldname,
|
||||
const char *fmt, ...);
|
||||
|
||||
/**
|
||||
* json_stream_output - start writing out a json_stream to this conn.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue