core-lightning/tools
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
..
gen tools: fix tlv generation 2019-07-27 21:19:57 -05:00
test tools: fix 32 bit compile error 2019-07-25 11:41:48 +08:00
bench-gossipd.sh gossipd: remove unnecessary dev_unknown_channel_satoshis arg. 2019-05-22 11:28:44 +00:00
build-release.sh tools/built-release.sh: fix archives we produce. 2019-03-01 21:38:08 +00:00
check-bolt.c check: only check EXPERIMENTAL-tagged BOLT quotes if EXPERIMENTAL_FEATURES 2019-07-24 06:35:57 +00:00
check-includes.sh devtools/create-gossipstore: clean up enough to pass check-source. 2019-04-08 04:41:43 +00:00
check-manpage.sh tools: use /usr/bin/env bash instead of /bin/bash 2018-07-24 00:25:43 +00:00
check-markdown.sh tools: use /usr/bin/env bash instead of /bin/bash 2018-07-24 00:25:43 +00:00
check-setup_locale.sh tools/check-setup_locale.sh: don't get caught by main in non-C files. 2019-02-08 01:10:17 +00:00
check-spelling.sh spelling: Check LockTime Verify. 2018-10-23 16:55:35 +02:00
docker-entrypoint.sh [Docker] Make sure lightningd receive SIGTERM 2018-12-29 13:29:54 +01:00
generate-wire.py bolt-gen: use 'enum' instead of 'e:' prefix for enums 2019-07-24 06:31:46 +00:00
headerversions.c tools: Add missing unistd.h header 2018-12-29 13:34:23 +01:00
Makefile bolt-gen: add compilation tests 2019-07-24 02:52:53 +00:00
mockup.sh update-mocks: handle NO_NULL_ARGS and NON_NULL_ARGS functions. 2019-02-21 00:44:57 +00:00
refresh-submodules.sh build: allow building from source zip file. 2019-01-15 02:18:30 +00:00
rel.sh tools: use /usr/bin/env bash instead of /bin/bash 2018-07-24 00:25:43 +00:00
repro-build.sh remove libbase58, use base58 from libwally (#2594) 2019-04-30 23:07:31 +02:00
update-mocks.sh tools: use /usr/bin/env bash instead of /bin/bash 2018-07-24 00:25:43 +00:00