diff --git a/lightningd/Makefile b/lightningd/Makefile index 71414dac8..15769f759 100644 --- a/lightningd/Makefile +++ b/lightningd/Makefile @@ -39,10 +39,10 @@ LIGHTNINGD_LIB_SRC := \ lightningd/channel.c \ lightningd/channel_config.c \ lightningd/commit_tx.c \ - lightningd/connection.c \ lightningd/cryptomsg.c \ lightningd/crypto_sync.c \ lightningd/debug.c \ + lightningd/daemon_conn.c \ lightningd/derive_basepoints.c \ lightningd/funding_tx.c \ lightningd/gossip_msg.c \ diff --git a/lightningd/channel/channel.c b/lightningd/channel/channel.c index 143b65b64..66250f151 100644 --- a/lightningd/channel/channel.c +++ b/lightningd/channel/channel.c @@ -13,9 +13,9 @@ #include #include #include -#include #include #include +#include #include #include #include diff --git a/lightningd/connection.c b/lightningd/daemon_conn.c similarity index 98% rename from lightningd/connection.c rename to lightningd/daemon_conn.c index 2f23854a2..54993a03a 100644 --- a/lightningd/connection.c +++ b/lightningd/daemon_conn.c @@ -1,7 +1,7 @@ -#include "connection.h" #include #include #include +#include #include #include diff --git a/lightningd/connection.h b/lightningd/daemon_conn.h similarity index 93% rename from lightningd/connection.h rename to lightningd/daemon_conn.h index 3ebc57529..bcc277bc3 100644 --- a/lightningd/connection.h +++ b/lightningd/daemon_conn.h @@ -1,5 +1,5 @@ -#ifndef LIGHTNING_LIGHTNINGD_CONNECTION_H -#define LIGHTNING_LIGHTNINGD_CONNECTION_H +#ifndef LIGHTNING_LIGHTNINGD_DAEMON_CONN_H +#define LIGHTNING_LIGHTNINGD_DAEMON_CONN_H #include "config.h" #include @@ -70,4 +70,4 @@ struct io_plan *daemon_conn_read_next(struct io_conn *conn, * daemon_conn_sync_flush - Flush connection by sending all messages now.. */ bool daemon_conn_sync_flush(struct daemon_conn *dc); -#endif /* LIGHTNING_LIGHTNINGD_CONNECTION_H */ +#endif /* LIGHTNING_LIGHTNINGD_DAEMON_CONN_H */ diff --git a/lightningd/gossip/gossip.c b/lightningd/gossip/gossip.c index ccd26069a..51281d9ce 100644 --- a/lightningd/gossip/gossip.c +++ b/lightningd/gossip/gossip.c @@ -16,8 +16,8 @@ #include #include #include -#include #include +#include #include #include #include diff --git a/lightningd/hsm/hsm.c b/lightningd/hsm/hsm.c index ad18d14ab..7d18acc1a 100644 --- a/lightningd/hsm/hsm.c +++ b/lightningd/hsm/hsm.c @@ -16,7 +16,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/lightningd/status.c b/lightningd/status.c index e7c0967c8..1e034ada5 100644 --- a/lightningd/status.c +++ b/lightningd/status.c @@ -9,7 +9,7 @@ #include #include #include -#include +#include #include #include