cln/devtools
Rusty Russell 2e68b88be8 tools: fix tlv generation
We need to hand -s to both header and body generation, or neither:

wire/gen_peer_wire.c:53:13: error: static declaration of ‘towire_channel_update_timestamps’ follows non-static declaration
In file included from wire/gen_peer_wire.c:5:
./wire/gen_peer_wire.h:78:6: note: previous declaration of ‘towire_channel_update_timestamps’ was here

We also need it for printwire, otherwise we get static unused functions for subtypes:

devtools/gen_print_wire.c:155:13: error: ‘printwire_channel_update_checksums’ defined but not used [-Werror=unused-function]
 static void printwire_channel_update_checksums(const char *fieldname, const u8 **cursor, size_t *plen)
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
devtools/gen_print_wire.c:133:13: error: ‘printwire_channel_update_timestamps’ defined but not used [-Werror=unused-function]
 static void printwire_channel_update_timestamps(const char *fieldname, const u8 **cursor, size_t *plen)
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-07-27 21:19:57 -05:00
..
.gitignore devtools/: Ignore mkcommit and mkfunding executables. 2019-07-24 16:15:38 +02:00
bolt11-cli.c wallet: Pass chainparams to address serialization 2019-05-10 23:07:49 +00:00
create-gossipstore.c ccan: update to faster and correct crc32c implementation. 2019-06-11 23:40:10 +00:00
credit devtools/credit: script to highlight contributions for this commit. 2019-06-07 13:37:58 +02:00
decode-iolog devtools/decode-iolog: tool to decode hexstrings from io logging. 2019-05-31 18:36:38 +02:00
decodemsg.c tlvs: add methods for decodemsg utility 2019-04-08 00:37:29 +00:00
dump-gossipstore.c ccan: update to faster and correct crc32c implementation. 2019-06-11 23:40:10 +00:00
gossipwith.c devtools/gossipwith: expose the INIT messages. 2019-07-17 12:55:37 -05:00
Makefile tools: fix tlv generation 2019-07-27 21:19:57 -05:00
mkcommit.c devtools/mkcommit: cleanups. 2019-07-17 12:55:37 -05:00
mkfunding.c devtools: add mkfunding and mkcommit. 2019-07-17 12:55:37 -05:00
onion.c devtools/onion: allow setting the hop_data. 2019-07-17 12:55:37 -05:00
print_wire.c tools: fix 32 bit compile error 2019-07-25 11:41:48 +08:00
print_wire.h bolt-gen: fixup the devtool/decodemsg printing facility 2019-07-24 02:52:53 +00:00