cleanup: remove unneeded includes in header files.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2021-09-16 14:30:42 +09:30
parent 1ab2b4a3fb
commit ea30c34d82
183 changed files with 548 additions and 608 deletions

2
wire/onion_printgen.h generated
View File

@@ -3,9 +3,7 @@
/* Template located at tools/gen/print_header_template */
#ifndef LIGHTNING_WIRE_ONION_PRINTGEN_H
#define LIGHTNING_WIRE_ONION_PRINTGEN_H
#include <ccan/tal/tal.h>
#include <devtools/print_wire.h>
#include <wire/onion_defs.h>
void printonion_wire_message(const u8 *msg);

1
wire/peer_printgen.h generated
View File

@@ -3,7 +3,6 @@
/* Template located at tools/gen/print_header_template */
#ifndef LIGHTNING_WIRE_PEER_PRINTGEN_H
#define LIGHTNING_WIRE_PEER_PRINTGEN_H
#include <ccan/tal/tal.h>
#include <devtools/print_wire.h>
void printpeer_wire_message(const u8 *msg);

View File

@@ -1,4 +1,5 @@
#include <bitcoin/block.h>
#include <common/utils.h>
#include <wire/peer_wire.h>
static bool unknown_type(enum peer_wire t)

View File

@@ -2,6 +2,7 @@
#include <assert.h>
#include <ccan/asort/asort.h>
#include <common/bigsize.h>
#include <common/utils.h>
#include <wire/tlvstream.h>
#include <wire/wire.h>

View File

@@ -6,7 +6,6 @@
#include <common/errcode.h>
#include <secp256k1_recovery.h>
#include <stdlib.h>
#include <wire/tlvstream.h>
struct ripemd160;
struct sha256;