summaryrefslogtreecommitdiff
path: root/src/threadengines
diff options
context:
space:
mode:
Diffstat (limited to 'src/threadengines')
-rw-r--r--src/threadengines/threadengine_pthread.cpp6
-rw-r--r--src/threadengines/threadengine_win32.cpp4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/threadengines/threadengine_pthread.cpp b/src/threadengines/threadengine_pthread.cpp
index a4a47f8fa..59ab8f402 100644
--- a/src/threadengines/threadengine_pthread.cpp
+++ b/src/threadengines/threadengine_pthread.cpp
@@ -17,7 +17,7 @@
#include <signal.h>
#include <fcntl.h>
-ThreadEngine::ThreadEngine(InspIRCd* Instance)
+ThreadEngine::ThreadEngine()
{
}
@@ -87,7 +87,7 @@ class ThreadSignalSocket : public BufferedSocket
}
};
-SocketThread::SocketThread(InspIRCd* SI)
+SocketThread::SocketThread()
{
int fd = eventfd(0, O_NONBLOCK);
if (fd < 0)
@@ -126,7 +126,7 @@ class ThreadSignalSocket : public BufferedSocket
}
};
-SocketThread::SocketThread(InspIRCd* SI)
+SocketThread::SocketThread()
{
int fds[2];
if (pipe(fds))
diff --git a/src/threadengines/threadengine_win32.cpp b/src/threadengines/threadengine_win32.cpp
index fab75699e..e880d597f 100644
--- a/src/threadengines/threadengine_win32.cpp
+++ b/src/threadengines/threadengine_win32.cpp
@@ -14,7 +14,7 @@
#include "inspircd.h"
#include "threadengines/threadengine_win32.h"
-ThreadEngine::ThreadEngine(InspIRCd* Instance)
+ThreadEngine::ThreadEngine()
{
}
@@ -67,7 +67,7 @@ class ThreadSignalSocket : public BufferedSocket
}
};
-SocketThread::SocketThread(InspIRCd* SI)
+SocketThread::SocketThread()
{
int listenFD = socket(AF_INET, SOCK_STREAM, 0);
if (listenFD == -1)