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'"
#include "conn.h"
#include "log.h"
+#include "client-cap.h"
+
GLOBAL int
Client_Cap(CLIENT *Client)
{
#include "defines.h"
#include "tool.h"
+#include "hash.h"
+
static UINT32 jenkins_hash PARAMS((UINT8 *k, UINT32 length, UINT32 initval));
/**
#include "messages.h"
#include "parse.h"
+#include "irc-cap.h"
+
/* Local functions */
/**
#include "irc-write.h"
#include "conf.h"
+#include "irc-channel.h"
+
/**
* Part from all channels.
*
#include "parse.h"
#include "tool.h"
+#include "irc-encoding.h"
+
/**
* Handler for the IRC+ "CHARCONV" command.
*
#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));
#include "messages.h"
#include "parse.h"
+#include "irc-metadata.h"
+
/**
* Handler for the IRC+ "METADATA" command.
*
#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,
#include "messages.h"
#include "parse.h"
+#include "irc-op.h"
+
/* Local functions */
static bool
#include "messages.h"
#include "op.h"
+#include "irc-oper.h"
+
/**
* Handle invalid received OPER command.
* Log OPER attempt and send error message to client.
#include "irc-write.h"
#include "op.h"
+#include "irc-server.h"
+
/**
* Handler for the IRC "SERVER" command.
*
#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
#include "log.h"
#include "parse.h"
+#include "numeric.h"
+
/**
* Announce a channel and its users in the network.
*/
#include "messages.h"
#include "irc-write.h"
+#include "op.h"
+
/**
* Return and log a "no privileges" message.
*/
#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 ));
#include "log.h"
#include "ngircd.h"
+#include "sighandlers.h"
+
static int signalpipe[2];
static const int signals_catch[] = {