mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-12 09:34:25 +01:00
Makefile: make check-includes check all the non-generated files.
Note that check-whitespace and check-bolt already do this, so we can eliminate redundant lines in common/Makefile and bitcoin/Makefile. We also include the plugin headers in ALL_C_HEADERS so they get checked. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -15,8 +15,8 @@
|
||||
#include <common/version.h>
|
||||
#include <secp256k1.h>
|
||||
#include <secp256k1_ecdh.h>
|
||||
#include <sodium/crypto_auth_hmacsha256.h>
|
||||
#include <sodium/crypto_aead_chacha20poly1305.h>
|
||||
#include <sodium/crypto_auth_hmacsha256.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#if EXPERIMENTAL_FEATURES
|
||||
#include <wire/onion_exp_printgen.h>
|
||||
#include <wire/peer_exp_printgen.h>
|
||||
#include <wire/onion_exp_printgen.h>
|
||||
#include <wire/peer_exp_printgen.h>
|
||||
#else
|
||||
#include <wire/onion_printgen.h>
|
||||
#include <wire/peer_printgen.h>
|
||||
#include <wire/onion_printgen.h>
|
||||
#include <wire/peer_printgen.h>
|
||||
#endif
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
#include <ccan/crc32c/crc32c.h>
|
||||
#include <ccan/err/err.h>
|
||||
#include <ccan/opt/opt.h>
|
||||
#include <common/gossip_store.h>
|
||||
#include <common/type_to_string.h>
|
||||
#include <common/utils.h>
|
||||
#include <fcntl.h>
|
||||
#include <common/gossip_store.h>
|
||||
#include <gossipd/gossipd_peerd_wiregen.h>
|
||||
#include <gossipd/gossip_store_wiregen.h>
|
||||
#include <gossipd/gossipd_peerd_wiregen.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
@@ -42,7 +42,7 @@ static struct io_plan *simple_close(struct io_conn *conn)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#include "../connectd/handshake.c"
|
||||
#include "../connectd/handshake.c"
|
||||
|
||||
/* This makes the handshake prototypes work. */
|
||||
struct io_conn {
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
#include <bitcoin/script.h>
|
||||
#include <bitcoin/tx.h>
|
||||
#include <ccan/cast/cast.h>
|
||||
#include <ccan/opt/opt.h>
|
||||
#include <ccan/err/err.h>
|
||||
#include <ccan/opt/opt.h>
|
||||
#include <ccan/str/hex/hex.h>
|
||||
#include <ccan/tal/str/str.h>
|
||||
#include <channeld/full_channel.h>
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
#include <common/type_to_string.h>
|
||||
#include <common/utils.h>
|
||||
#include <inttypes.h>
|
||||
#include <wire/peer_wire.h>
|
||||
#include <stdio.h>
|
||||
#include <wire/peer_wire.h>
|
||||
|
||||
static bool verbose = false;
|
||||
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
#include <common/gossip_constants.h>
|
||||
#include <common/utils.h>
|
||||
#include <inttypes.h>
|
||||
#include <wire/peer_wire.h>
|
||||
#include <stdio.h>
|
||||
#include <wire/peer_wire.h>
|
||||
|
||||
static void usage(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user