From 67ca7dcbe6b072b74a112ce4df4529cda82c0f13 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Fri, 4 Jun 2010 15:24:06 +0200 Subject: obsolete API elements removed - this commit breaks backward compatibility --- perf/local_lat.cpp | 2 +- perf/local_thr.cpp | 2 +- perf/remote_lat.cpp | 2 +- perf/remote_thr.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'perf') diff --git a/perf/local_lat.cpp b/perf/local_lat.cpp index 4cfb155..0628a97 100644 --- a/perf/local_lat.cpp +++ b/perf/local_lat.cpp @@ -42,7 +42,7 @@ int main (int argc, char *argv []) message_size = atoi (argv [2]); roundtrip_count = atoi (argv [3]); - ctx = zmq_init (1, 1, 0); + ctx = zmq_init (1); if (!ctx) { printf ("error in zmq_init: %s\n", zmq_strerror (errno)); return -1; diff --git a/perf/local_thr.cpp b/perf/local_thr.cpp index 42b3ec7..8480ebd 100644 --- a/perf/local_thr.cpp +++ b/perf/local_thr.cpp @@ -45,7 +45,7 @@ int main (int argc, char *argv []) message_size = atoi (argv [2]); message_count = atoi (argv [3]); - ctx = zmq_init (1, 1, 0); + ctx = zmq_init (1); if (!ctx) { printf ("error in zmq_send: %s\n", zmq_strerror (errno)); return -1; diff --git a/perf/remote_lat.cpp b/perf/remote_lat.cpp index 1a408f1..cd465f7 100644 --- a/perf/remote_lat.cpp +++ b/perf/remote_lat.cpp @@ -46,7 +46,7 @@ int main (int argc, char *argv []) message_size = atoi (argv [2]); roundtrip_count = atoi (argv [3]); - ctx = zmq_init (1, 1, 0); + ctx = zmq_init (1); if (!ctx) { printf ("error in zmq_init: %s\n", zmq_strerror (errno)); return -1; diff --git a/perf/remote_thr.cpp b/perf/remote_thr.cpp index 99fa482..002aaf2 100644 --- a/perf/remote_thr.cpp +++ b/perf/remote_thr.cpp @@ -42,7 +42,7 @@ int main (int argc, char *argv []) message_size = atoi (argv [2]); message_count = atoi (argv [3]); - ctx = zmq_init (1, 1, 0); + ctx = zmq_init (1); if (!ctx) { printf ("error in zmq_recv: %s\n", zmq_strerror (errno)); return -1; -- cgit v1.2.3