From 883c04a08ab3c927219d754de4265c84c20f580d Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 13 Mar 2006 13:42:56 +0000 Subject: Removal of ancient TRUE/FALSE #defines (C-ish stuff) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3700 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/inspircd.h | 4 ---- include/inspircd_io.h | 12 ++++++------ 2 files changed, 6 insertions(+), 10 deletions(-) (limited to 'include') diff --git a/include/inspircd.h b/include/inspircd.h index 89764f1c4..822be147e 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -48,11 +48,7 @@ #include "command_parse.h" // some misc defines - #define ERROR -1 -#define TRUE 1 -#define FALSE 0 -#define MAXSOCKS 64 #define MAXCOMMAND 32 // crucial defines diff --git a/include/inspircd_io.h b/include/inspircd_io.h index e4b5f98a3..a71638915 100644 --- a/include/inspircd_io.h +++ b/include/inspircd_io.h @@ -365,13 +365,13 @@ class ServerConfig : public classbase }; -void Exit (int); -void Start (void); +void Exit(int status); +void Start(); void SetSignals(); -int DaemonSeed (void); -bool FileExists (const char* file); -int OpenTCPSocket (void); -int BindSocket (int sockfd, struct sockaddr_in client, struct sockaddr_in server, int port, char* addr); +bool DaemonSeed(); +bool FileExists(const char* file); +int OpenTCPSocket(); +bool BindSocket(int sockfd, struct sockaddr_in client, struct sockaddr_in server, int port, char* addr); void WritePID(const std::string &filename); int BindPorts(); char* CleanFilename(char* name); -- cgit v1.2.3