From 9c9386d71e1b317fa39cc251eb6450e14ec5929f Mon Sep 17 00:00:00 2001 From: danieldg Date: Wed, 14 Oct 2009 18:44:18 +0000 Subject: Fix noeol on socketengine_select git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11874 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/socketengines/socketengine_select.cpp | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'src/socketengines') diff --git a/src/socketengines/socketengine_select.cpp b/src/socketengines/socketengine_select.cpp index 63e8b281b..6965ee771 100644 --- a/src/socketengines/socketengine_select.cpp +++ b/src/socketengines/socketengine_select.cpp @@ -15,21 +15,11 @@ #ifndef CONFIG_USE_IOCP #include "inspircd.h" -#ifndef WINDOWS -#include -#endif // WINDOWS - -#ifndef __SOCKETENGINE_SELECT__ -#define __SOCKETENGINE_SELECT__ +#include "socketengine.h" -#include -#include -#include #ifndef WINDOWS #include #endif // WINDOWS -#include "inspircd.h" -#include "socketengine.h" /** A specialisation of the SocketEngine class, designed to use traditional select(). */ @@ -49,10 +39,6 @@ public: virtual std::string GetName(); }; -#endif - - - SelectEngine::SelectEngine() { MAX_DESCRIPTORS = FD_SETSIZE; @@ -188,4 +174,4 @@ SocketEngine* CreateSocketEngine() { return new SelectEngine; } -#endif \ No newline at end of file +#endif -- cgit v1.2.3