summaryrefslogtreecommitdiff
path: root/src/rep.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rep.cpp')
-rw-r--r--src/rep.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rep.cpp b/src/rep.cpp
index 7ebbc6d..137c735 100644
--- a/src/rep.cpp
+++ b/src/rep.cpp
@@ -134,7 +134,7 @@ int zmq::rep_t::xsetsockopt (int option_, const void *optval_,
return -1;
}
-int zmq::rep_t::xsend (struct zmq_msg_t *msg_, int flags_)
+int zmq::rep_t::xsend (zmq_msg_t *msg_, int flags_)
{
if (!waiting_for_reply) {
errno = EFSM;
@@ -165,7 +165,7 @@ int zmq::rep_t::xflush ()
return -1;
}
-int zmq::rep_t::xrecv (struct zmq_msg_t *msg_, int flags_)
+int zmq::rep_t::xrecv (zmq_msg_t *msg_, int flags_)
{
// Deallocate old content of the message.
zmq_msg_close (msg_);