mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-13 02:10:27 +00:00
Re-add #include's for header files of the C file itself
This partially reverts commit b130b35f4
, "Update #include's: remove
unused and add missing ones", but fixes the following compiler and
analyzer warnings of Apple Xcode 5:
"Semantic issue: No previous prototype for function 'yyy'"
This commit is contained in:
parent
a13bb78b1e
commit
a534e71e8d
@ -23,6 +23,8 @@
|
||||
#include "conn.h"
|
||||
#include "log.h"
|
||||
|
||||
#include "client-cap.h"
|
||||
|
||||
GLOBAL int
|
||||
Client_Cap(CLIENT *Client)
|
||||
{
|
||||
|
@ -22,6 +22,8 @@
|
||||
#include "defines.h"
|
||||
#include "tool.h"
|
||||
|
||||
#include "hash.h"
|
||||
|
||||
static UINT32 jenkins_hash PARAMS((UINT8 *k, UINT32 length, UINT32 initval));
|
||||
|
||||
/**
|
||||
|
@ -29,6 +29,8 @@
|
||||
#include "messages.h"
|
||||
#include "parse.h"
|
||||
|
||||
#include "irc-cap.h"
|
||||
|
||||
/* Local functions */
|
||||
|
||||
/**
|
||||
|
@ -35,6 +35,8 @@
|
||||
#include "irc-write.h"
|
||||
#include "conf.h"
|
||||
|
||||
#include "irc-channel.h"
|
||||
|
||||
/**
|
||||
* Part from all channels.
|
||||
*
|
||||
|
@ -29,6 +29,8 @@
|
||||
#include "parse.h"
|
||||
#include "tool.h"
|
||||
|
||||
#include "irc-encoding.h"
|
||||
|
||||
/**
|
||||
* Handler for the IRC+ "CHARCONV" command.
|
||||
*
|
||||
|
@ -34,6 +34,8 @@
|
||||
#include "irc-macros.h"
|
||||
#include "irc-write.h"
|
||||
|
||||
#include "irc-login.h"
|
||||
|
||||
static void Change_Nick PARAMS((CLIENT * Origin, CLIENT * Target, char *NewNick,
|
||||
bool InformClient));
|
||||
|
||||
|
@ -29,6 +29,8 @@
|
||||
#include "messages.h"
|
||||
#include "parse.h"
|
||||
|
||||
#include "irc-metadata.h"
|
||||
|
||||
/**
|
||||
* Handler for the IRC+ "METADATA" command.
|
||||
*
|
||||
|
@ -31,6 +31,8 @@
|
||||
#include "messages.h"
|
||||
#include "conf.h"
|
||||
|
||||
#include "irc-mode.h"
|
||||
|
||||
static bool Client_Mode PARAMS((CLIENT *Client, REQUEST *Req, CLIENT *Origin,
|
||||
CLIENT *Target));
|
||||
static bool Channel_Mode PARAMS((CLIENT *Client, REQUEST *Req, CLIENT *Origin,
|
||||
|
@ -28,6 +28,8 @@
|
||||
#include "messages.h"
|
||||
#include "parse.h"
|
||||
|
||||
#include "irc-op.h"
|
||||
|
||||
/* Local functions */
|
||||
|
||||
static bool
|
||||
|
@ -37,6 +37,8 @@
|
||||
#include "messages.h"
|
||||
#include "op.h"
|
||||
|
||||
#include "irc-oper.h"
|
||||
|
||||
/**
|
||||
* Handle invalid received OPER command.
|
||||
* Log OPER attempt and send error message to client.
|
||||
|
@ -35,6 +35,8 @@
|
||||
#include "irc-write.h"
|
||||
#include "op.h"
|
||||
|
||||
#include "irc-server.h"
|
||||
|
||||
/**
|
||||
* Handler for the IRC "SERVER" command.
|
||||
*
|
||||
|
@ -22,6 +22,8 @@
|
||||
#include "defines.h"
|
||||
#include "tool.h"
|
||||
|
||||
#include "match.h"
|
||||
|
||||
/*
|
||||
* The pattern matching functions [Matche(), Matche_After_Star()] are based
|
||||
* on code of J. Kercheval. Version 1.1 has been released on 1991-03-12 as
|
||||
|
@ -31,6 +31,8 @@
|
||||
#include "log.h"
|
||||
#include "parse.h"
|
||||
|
||||
#include "numeric.h"
|
||||
|
||||
/**
|
||||
* Announce a channel and its users in the network.
|
||||
*/
|
||||
|
@ -26,6 +26,8 @@
|
||||
#include "messages.h"
|
||||
#include "irc-write.h"
|
||||
|
||||
#include "op.h"
|
||||
|
||||
/**
|
||||
* Return and log a "no privileges" message.
|
||||
*/
|
||||
|
@ -40,6 +40,8 @@
|
||||
#include "log.h"
|
||||
#include "ng_ipaddr.h"
|
||||
|
||||
#include "resolve.h"
|
||||
|
||||
static void Do_ResolveAddr PARAMS(( const ng_ipaddr_t *Addr, int Sock, int w_fd ));
|
||||
static void Do_ResolveName PARAMS(( const char *Host, int w_fd ));
|
||||
|
||||
|
@ -33,6 +33,8 @@
|
||||
#include "log.h"
|
||||
#include "ngircd.h"
|
||||
|
||||
#include "sighandlers.h"
|
||||
|
||||
static int signalpipe[2];
|
||||
|
||||
static const int signals_catch[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user