common: move json_stream from lightningd/ to common/

It's not lightningd-specific and we are going to need it for libplugin. The only
drawback is the log_io removal in json_stream_output_write()..
This commit is contained in:
darosior
2020-01-20 10:23:55 +01:00
committed by Rusty Russell
parent 9030e5d779
commit d35387f489
9 changed files with 11 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
#include "../json_stream.c"
#include "../../common/json_stream.c"
#include "../jsonrpc.c"
#include "../json.c"