Skip to content

Commit

Permalink
irc: fix check-source.
Browse files Browse the repository at this point in the history
Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
rustyrussell committed Oct 7, 2016
1 parent 93b7233 commit 4fcdf6d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
1 change: 1 addition & 0 deletions daemon/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion irc.c
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
10 changes: 5 additions & 5 deletions irc.h
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 4fcdf6d

Please sign in to comment.