Browse Source

irc: fix check-source.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa-0.6.1
Rusty Russell 8 years ago
parent
commit
4fcdf6de5c
  1. 1
      Makefile
  2. 1
      daemon/Makefile
  3. 2
      irc.c
  4. 10
      irc.h

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 \

1
daemon/Makefile

@ -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

@ -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

@ -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…
Cancel
Save