summaryrefslogtreecommitdiff
path: root/src/pub.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-09-23 10:22:54 +0200
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-09-23 10:22:54 +0200
commit088a2db6746488c1ce4a73c357caaece50bbdf60 (patch)
treede745dd44f673958c305ae0261e986aa1748d17c /src/pub.cpp
parent3bd8f83f6d412221e4673ceb90b8ca7fa74ff2f1 (diff)
ZMQII-16: Change "struct zmq_msg_t" to "zmq_msg_t" in C binding
Diffstat (limited to 'src/pub.cpp')
-rw-r--r--src/pub.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pub.cpp b/src/pub.cpp
index a403157..1e66a18 100644
--- a/src/pub.cpp
+++ b/src/pub.cpp
@@ -72,7 +72,7 @@ int zmq::pub_t::xsetsockopt (int option_, const void *optval_,
return -1;
}
-int zmq::pub_t::xsend (struct zmq_msg_t *msg_, int flags_)
+int zmq::pub_t::xsend (zmq_msg_t *msg_, int flags_)
{
out_pipes_t::size_type pipes_count = out_pipes.size ();
@@ -150,7 +150,7 @@ int zmq::pub_t::xflush ()
return 0;
}
-int zmq::pub_t::xrecv (struct zmq_msg_t *msg_, int flags_)
+int zmq::pub_t::xrecv (zmq_msg_t *msg_, int flags_)
{
errno = ENOTSUP;
return -1;