mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
irc: fix check-source.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
93b72332bd
commit
4fcdf6de5c
1
Makefile
1
Makefile
@ -150,6 +150,7 @@ BITCOIN_HEADERS := bitcoin/address.h \
|
||||
|
||||
CORE_HEADERS := close_tx.h \
|
||||
find_p2sh_out.h \
|
||||
irc.h \
|
||||
names.h \
|
||||
opt_bits.h \
|
||||
overflows.h \
|
||||
|
@ -73,6 +73,7 @@ DAEMON_HEADERS := \
|
||||
daemon/htlc.h \
|
||||
daemon/htlc_state.h \
|
||||
daemon/invoice.h \
|
||||
daemon/irc_announce.h \
|
||||
daemon/json.h \
|
||||
daemon/jsonrpc.h \
|
||||
daemon/lightningd.h \
|
||||
|
2
irc.c
2
irc.c
@ -1,6 +1,6 @@
|
||||
#include "irc.h"
|
||||
#include "daemon/dns.h"
|
||||
#include "daemon/log.h"
|
||||
#include "irc.h"
|
||||
|
||||
void (*irc_privmsg_cb)(struct ircstate *, const struct privmsg *) = NULL;
|
||||
void (*irc_disconnect_cb)(struct ircstate *) = NULL;
|
||||
|
10
irc.h
10
irc.h
@ -1,17 +1,17 @@
|
||||
#ifndef LIGHTNING_IRC_H
|
||||
#define LIGHTNING_IRC_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netdb.h>
|
||||
#include "config.h"
|
||||
#include "daemon/lightningd.h"
|
||||
#include <ccan/io/io.h>
|
||||
#include <ccan/short_types/short_types.h>
|
||||
#include <ccan/str/str.h>
|
||||
#include <ccan/tal/str/str.h>
|
||||
#include <ccan/time/time.h>
|
||||
#include <ccan/timer/timer.h>
|
||||
|
||||
#include "daemon/lightningd.h"
|
||||
#include <netdb.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
struct irccommand {
|
||||
struct list_node list;
|
||||
|
Loading…
Reference in New Issue
Block a user