From 088a2db6746488c1ce4a73c357caaece50bbdf60 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Wed, 23 Sep 2009 10:22:54 +0200 Subject: ZMQII-16: Change "struct zmq_msg_t" to "zmq_msg_t" in C binding --- src/rep.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rep.cpp') 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_); -- cgit v1.2.3