summaryrefslogtreecommitdiff
path: root/src/message.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/message.cpp')
-rw-r--r--src/message.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/message.cpp b/src/message.cpp
index 9b56cc8ca..e69ce94ab 100644
--- a/src/message.cpp
+++ b/src/message.cpp
@@ -48,18 +48,6 @@ extern std::vector<ircd_module*> factory;
extern time_t TIME;
extern ServerConfig* Config;
-void Blocking(int s)
-{
- int flags = fcntl(s, F_GETFL, 0);
- fcntl(s, F_SETFL, flags ^ O_NONBLOCK);
-}
-
-void NonBlocking(int s)
-{
- int flags = fcntl(s, F_GETFL, 0);
- fcntl(s, F_SETFL, flags | O_NONBLOCK);
-}
-
int c_count(userrec* u)
{
int z = 0;