summaryrefslogtreecommitdiff
path: root/perf/c
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 /perf/c
parent3bd8f83f6d412221e4673ceb90b8ca7fa74ff2f1 (diff)
ZMQII-16: Change "struct zmq_msg_t" to "zmq_msg_t" in C binding
Diffstat (limited to 'perf/c')
-rw-r--r--perf/c/local_lat.c2
-rw-r--r--perf/c/local_thr.c2
-rw-r--r--perf/c/remote_lat.c2
-rw-r--r--perf/c/remote_thr.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/perf/c/local_lat.c b/perf/c/local_lat.c
index 2cbae13..ca0ff9d 100644
--- a/perf/c/local_lat.c
+++ b/perf/c/local_lat.c
@@ -31,7 +31,7 @@ int main (int argc, char *argv [])
void *s;
int rc;
int i;
- struct zmq_msg_t msg;
+ zmq_msg_t msg;
if (argc != 4) {
printf ("usage: local_lat <bind-to> <message-size> "
diff --git a/perf/c/local_thr.c b/perf/c/local_thr.c
index f9ab720..c97af11 100644
--- a/perf/c/local_thr.c
+++ b/perf/c/local_thr.c
@@ -31,7 +31,7 @@ int main (int argc, char *argv [])
void *s;
int rc;
int i;
- struct zmq_msg_t msg;
+ zmq_msg_t msg;
void *watch;
unsigned long elapsed;
unsigned long throughput;
diff --git a/perf/c/remote_lat.c b/perf/c/remote_lat.c
index 52aa071..55c25b6 100644
--- a/perf/c/remote_lat.c
+++ b/perf/c/remote_lat.c
@@ -32,7 +32,7 @@ int main (int argc, char *argv [])
void *s;
int rc;
int i;
- struct zmq_msg_t msg;
+ zmq_msg_t msg;
void *watch;
unsigned long elapsed;
double latency;
diff --git a/perf/c/remote_thr.c b/perf/c/remote_thr.c
index fb685cd..e6cc661 100644
--- a/perf/c/remote_thr.c
+++ b/perf/c/remote_thr.c
@@ -31,7 +31,7 @@ int main (int argc, char *argv [])
void *s;
int rc;
int i;
- struct zmq_msg_t msg;
+ zmq_msg_t msg;
if (argc != 4) {
printf ("usage: remote_thr <connect-to> <message-size> "