mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-09 08:04:19 +01:00
cleanup: remove unneeded includes in header files.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
2
wire/onion_printgen.h
generated
2
wire/onion_printgen.h
generated
@@ -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
1
wire/peer_printgen.h
generated
@@ -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);
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
#include <common/errcode.h>
|
||||
#include <secp256k1_recovery.h>
|
||||
#include <stdlib.h>
|
||||
#include <wire/tlvstream.h>
|
||||
|
||||
struct ripemd160;
|
||||
struct sha256;
|
||||
|
||||
Reference in New Issue
Block a user