summaryrefslogtreecommitdiff
path: root/src/zmq.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zmq.cpp')
-rw-r--r--src/zmq.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/zmq.cpp b/src/zmq.cpp
index 5029734..89848e7 100644
--- a/src/zmq.cpp
+++ b/src/zmq.cpp
@@ -40,7 +40,6 @@
#include <stdlib.h>
#include <new>
-#include "device.hpp"
#include "socket_base.hpp"
#include "msg_content.hpp"
#include "stdint.hpp"
@@ -729,23 +728,6 @@ int zmq_errno ()
return errno;
}
-int zmq_device (int device_, void *insocket_, void *outsocket_)
-{
- if (!insocket_ || !outsocket_) {
- errno = EFAULT;
- return -1;
- }
-
- if (device_ != ZMQ_FORWARDER && device_ != ZMQ_QUEUE &&
- device_ != ZMQ_STREAMER) {
- errno = EINVAL;
- return -1;
- }
-
- return zmq::device ((zmq::socket_base_t*) insocket_,
- (zmq::socket_base_t*) outsocket_);
-}
-
////////////////////////////////////////////////////////////////////////////////
// 0MQ utils - to be used by perf tests
////////////////////////////////////////////////////////////////////////////////