Skip to content

Commit 0d46a3d

Browse files
committed
Put the 'd' back in the daemons.
@renepickhardt: why is it actually lightningd.c with a d but hsm.c without d ? And delete unused gossipd/gossip.h. Signed-off-by: Rusty Russell <[email protected]>
1 parent 8bc845d commit 0d46a3d

File tree

18 files changed

+13
-25
lines changed

18 files changed

+13
-25
lines changed

channeld/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ LIGHTNINGD_CHANNEL_HEADERS_NOGEN := \
2020

2121
LIGHTNINGD_CHANNEL_HEADERS := $(LIGHTNINGD_CHANNEL_HEADERS_GEN) $(LIGHTNINGD_CHANNEL_HEADERS_NOGEN)
2222

23-
LIGHTNINGD_CHANNEL_SRC := channeld/channel.c \
23+
LIGHTNINGD_CHANNEL_SRC := channeld/channeld.c \
2424
channeld/commit_tx.c \
2525
channeld/full_channel.c \
2626
channeld/gen_channel_wire.c
File renamed without changes.

closingd/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ LIGHTNINGD_CLOSING_HEADERS_NOGEN :=
1616

1717
LIGHTNINGD_CLOSING_HEADERS := $(LIGHTNINGD_CLOSING_HEADERS_GEN) $(LIGHTNINGD_CLOSING_HEADERS_NOGEN)
1818

19-
LIGHTNINGD_CLOSING_SRC := closingd/closing.c \
19+
LIGHTNINGD_CLOSING_SRC := closingd/closingd.c \
2020
$(LIGHTNINGD_CLOSING_HEADERS:.h=.c)
2121
LIGHTNINGD_CLOSING_OBJS := $(LIGHTNINGD_CLOSING_SRC:.c=.o)
2222

File renamed without changes.

connectd/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ LIGHTNINGD_CONNECT_CONTROL_OBJS := $(LIGHTNINGD_CONNECT_CONTROL_SRC:.c=.o)
1414
# connectd needs these:
1515
LIGHTNINGD_CONNECT_HEADERS := connectd/gen_connect_wire.h \
1616
connectd/gen_connect_gossip_wire.h \
17-
connectd/connect.h \
17+
connectd/connectd.h \
1818
connectd/handshake.h \
1919
connectd/netaddress.h \
2020
connectd/tor_autoservice.h \

connectd/connect.c renamed to connectd/connectd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#include <common/version.h>
3131
#include <common/wire_error.h>
3232
#include <common/wireaddr.h>
33-
#include <connectd/connect.h>
33+
#include <connectd/connectd.h>
3434
#include <connectd/gen_connect_gossip_wire.h>
3535
#include <connectd/gen_connect_wire.h>
3636
#include <connectd/handshake.h>
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
#ifndef LIGHTNING_CONNECTD_CONNECT_H
2-
#define LIGHTNING_CONNECTD_CONNECT_H
1+
#ifndef LIGHTNING_CONNECTD_CONNECTD_H
2+
#define LIGHTNING_CONNECTD_CONNECTD_H
33
#include "config.h"
44

55
struct io_conn;
66
struct reaching;
77

88
struct io_plan *connection_out(struct io_conn *conn, struct reaching *reach);
99

10-
#endif /* LIGHTNING_CONNECTD_CONNECT_H */
10+
#endif /* LIGHTNING_CONNECTD_CONNECTD_H */

connectd/tor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <common/status.h>
55
#include <common/utils.h>
66
#include <common/wireaddr.h>
7-
#include <connectd/connect.h>
7+
#include <connectd/connectd.h>
88
#include <connectd/tor.h>
99
#include <netdb.h>
1010
#include <netinet/in.h>

gossipd/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,11 @@ LIGHTNINGD_GOSSIP_CONTROL_OBJS := $(LIGHTNINGD_GOSSIP_CONTROL_SRC:.c=.o)
1313

1414
# gossipd needs these:
1515
LIGHTNINGD_GOSSIP_HEADERS := gossipd/gen_gossip_wire.h \
16-
gossipd/gossip.h \
1716
gossipd/gen_gossip_store.h \
1817
gossipd/gossip_store.h \
1918
gossipd/routing.h \
2019
gossipd/broadcast.h
21-
LIGHTNINGD_GOSSIP_SRC := $(LIGHTNINGD_GOSSIP_HEADERS:.h=.c)
20+
LIGHTNINGD_GOSSIP_SRC := $(LIGHTNINGD_GOSSIP_HEADERS:.h=.c) gossipd/gossipd.c
2221
LIGHTNINGD_GOSSIP_OBJS := $(LIGHTNINGD_GOSSIP_SRC:.c=.o)
2322

2423
# Make sure these depend on everything.

gossipd/gossip.h

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)