From 7bf516ded73031c78b61a2ca2367d3f384474eab Mon Sep 17 00:00:00 2001 From: Astellar Date: Fri, 21 Sep 2012 19:57:50 +0400 Subject: [PATCH] zmq_msg_t will now typedef a named struct. This change allows forward declaration of struct zmq_msg_t. --- include/zmq.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/zmq.h b/include/zmq.h index 3327b6bf..2505641e 100644 --- a/include/zmq.h +++ b/include/zmq.h @@ -176,7 +176,7 @@ ZMQ_EXPORT int zmq_term (void *context); /* 0MQ message definition. */ /******************************************************************************/ -typedef struct {unsigned char _ [32];} zmq_msg_t; +typedef struct zmq_msg_t {unsigned char _ [32];} zmq_msg_t; typedef void (zmq_free_fn) (void *data, void *hint);