summaryrefslogtreecommitdiff
path: root/perf/c
diff options
context:
space:
mode:
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> "