]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/message.cpp
Move Blocking/NonBlocking to socket.cpp and make inline
[user/henk/code/inspircd.git] / src / message.cpp
index 9b56cc8ca4e65c4012396a3fe181fe7de5e21fab..e69ce94ab0f4ff37bd1f0953acab10deef40b247 100644 (file)
@@ -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;