Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
08f6a9e7
Commit
08f6a9e7
authored
Aug 27, 2012
by
Arthur O'Dwyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused argc/argv parameters in tests.
parent
c29aef4d
Show whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
20 additions
and
20 deletions
+20
-20
test_connect_delay.cpp
tests/test_connect_delay.cpp
+3
-3
test_connect_resolve.cpp
tests/test_connect_resolve.cpp
+1
-1
test_hwm.cpp
tests/test_hwm.cpp
+1
-1
test_invalid_rep.cpp
tests/test_invalid_rep.cpp
+1
-1
test_last_endpoint.cpp
tests/test_last_endpoint.cpp
+1
-1
test_msg_flags.cpp
tests/test_msg_flags.cpp
+1
-1
test_pair_inproc.cpp
tests/test_pair_inproc.cpp
+1
-1
test_pair_ipc.cpp
tests/test_pair_ipc.cpp
+1
-1
test_pair_tcp.cpp
tests/test_pair_tcp.cpp
+1
-1
test_reqrep_device.cpp
tests/test_reqrep_device.cpp
+1
-1
test_reqrep_inproc.cpp
tests/test_reqrep_inproc.cpp
+1
-1
test_reqrep_ipc.cpp
tests/test_reqrep_ipc.cpp
+1
-1
test_reqrep_tcp.cpp
tests/test_reqrep_tcp.cpp
+1
-1
test_router_behavior.cpp
tests/test_router_behavior.cpp
+1
-1
test_shutdown_stress.cpp
tests/test_shutdown_stress.cpp
+1
-1
test_sub_forward.cpp
tests/test_sub_forward.cpp
+1
-1
test_term_endpoint.cpp
tests/test_term_endpoint.cpp
+1
-1
test_timeo.cpp
tests/test_timeo.cpp
+1
-1
No files found.
tests/test_connect_delay.cpp
View file @
08f6a9e7
...
@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
...
@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "../include/zmq.h"
#include "../include/zmq.h"
static
void
*
server
(
void
*
c
)
static
void
*
server
(
void
*
)
{
{
void
*
socket
,
*
context
;
void
*
socket
,
*
context
;
char
buffer
[
16
];
char
buffer
[
16
];
...
@@ -88,7 +88,7 @@ static void *server (void *c)
...
@@ -88,7 +88,7 @@ static void *server (void *c)
pthread_exit
(
NULL
);
pthread_exit
(
NULL
);
}
}
static
void
*
worker
(
void
*
n
)
static
void
*
worker
(
void
*
)
{
{
void
*
socket
,
*
context
;
void
*
socket
,
*
context
;
int
rc
,
hadone
,
val
;
int
rc
,
hadone
,
val
;
...
@@ -131,7 +131,7 @@ static void *worker (void *n)
...
@@ -131,7 +131,7 @@ static void *worker (void *n)
pthread_exit
(
NULL
);
pthread_exit
(
NULL
);
}
}
int
main
(
int
argc
,
char
*
argv
[]
)
int
main
(
void
)
{
{
fprintf
(
stderr
,
"test_connect_delay running...
\n
"
);
fprintf
(
stderr
,
"test_connect_delay running...
\n
"
);
int
val
;
int
val
;
...
...
tests/test_connect_resolve.cpp
View file @
08f6a9e7
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
#include "../include/zmq.h"
#include "../include/zmq.h"
int
main
(
int
argc
,
char
*
argv
[]
)
int
main
(
void
)
{
{
fprintf
(
stderr
,
"test_connect_resolve running...
\n
"
);
fprintf
(
stderr
,
"test_connect_resolve running...
\n
"
);
...
...
tests/test_hwm.cpp
View file @
08f6a9e7
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
#include "testutil.hpp"
#include "testutil.hpp"
int
main
(
int
argc
,
char
*
argv
[]
)
int
main
(
void
)
{
{
fprintf
(
stderr
,
"test_hwm running...
\n
"
);
fprintf
(
stderr
,
"test_hwm running...
\n
"
);
...
...
tests/test_invalid_rep.cpp
View file @
08f6a9e7
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
#include <assert.h>
#include <assert.h>
#include <stdio.h>
#include <stdio.h>
int
main
(
int
argc
,
char
*
argv
[]
)
int
main
(
void
)
{
{
fprintf
(
stderr
,
"test_invalid_rep running...
\n
"
);
fprintf
(
stderr
,
"test_invalid_rep running...
\n
"
);
...
...
tests/test_last_endpoint.cpp
View file @
08f6a9e7
...
@@ -35,7 +35,7 @@ static void do_bind_and_verify (void *s, const char *endpoint)
...
@@ -35,7 +35,7 @@ static void do_bind_and_verify (void *s, const char *endpoint)
assert
(
rc
==
0
&&
strcmp
(
test
,
endpoint
)
==
0
);
assert
(
rc
==
0
&&
strcmp
(
test
,
endpoint
)
==
0
);
}
}
int
main
(
int
argc
,
char
*
argv
[]
)
int
main
(
void
)
{
{
// Create the infrastructure
// Create the infrastructure
void
*
ctx
=
zmq_init
(
1
);
void
*
ctx
=
zmq_init
(
1
);
...
...
tests/test_msg_flags.cpp
View file @
08f6a9e7
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
#include "../include/zmq.h"
#include "../include/zmq.h"
int
main
(
int
argc
,
char
*
argv
[]
)
int
main
(
void
)
{
{
// Create the infrastructure
// Create the infrastructure
void
*
ctx
=
zmq_init
(
0
);
void
*
ctx
=
zmq_init
(
0
);
...
...
tests/test_pair_inproc.cpp
View file @
08f6a9e7
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
#include <stdio.h>
#include <stdio.h>
#include "testutil.hpp"
#include "testutil.hpp"
int
main
(
int
argc
,
char
*
argv
[]
)
int
main
(
void
)
{
{
fprintf
(
stderr
,
"test_pair_inproc running...
\n
"
);
fprintf
(
stderr
,
"test_pair_inproc running...
\n
"
);
...
...
tests/test_pair_ipc.cpp
View file @
08f6a9e7
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
#include <stdio.h>
#include <stdio.h>
#include "testutil.hpp"
#include "testutil.hpp"
int
main
(
int
argc
,
char
*
argv
[]
)
int
main
(
void
)
{
{
fprintf
(
stderr
,
"test_pair_ipc running...
\n
"
);
fprintf
(
stderr
,
"test_pair_ipc running...
\n
"
);
...
...
tests/test_pair_tcp.cpp
View file @
08f6a9e7
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <stdio.h>
#include "testutil.hpp"
#include "testutil.hpp"
int
main
(
int
argc
,
char
*
argv
[]
)
int
main
(
void
)
{
{
fprintf
(
stderr
,
"test_pair_tcp running...
\n
"
);
fprintf
(
stderr
,
"test_pair_tcp running...
\n
"
);
...
...
tests/test_reqrep_device.cpp
View file @
08f6a9e7
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
#include "../include/zmq.h"
#include "../include/zmq.h"
int
main
(
int
argc
,
char
*
argv
[]
)
int
main
(
void
)
{
{
fprintf
(
stderr
,
"test_reqrep_device running...
\n
"
);
fprintf
(
stderr
,
"test_reqrep_device running...
\n
"
);
...
...
tests/test_reqrep_inproc.cpp
View file @
08f6a9e7
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
#include <stdio.h>
#include <stdio.h>
#include "testutil.hpp"
#include "testutil.hpp"
int
main
(
int
argc
,
char
*
argv
[]
)
int
main
(
void
)
{
{
fprintf
(
stderr
,
"test_reqrep_inproc running...
\n
"
);
fprintf
(
stderr
,
"test_reqrep_inproc running...
\n
"
);
...
...
tests/test_reqrep_ipc.cpp
View file @
08f6a9e7
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
#include <stdio.h>
#include <stdio.h>
#include "testutil.hpp"
#include "testutil.hpp"
int
main
(
int
argc
,
char
*
argv
[]
)
int
main
(
void
)
{
{
fprintf
(
stderr
,
"test_reqrep_ipc running...
\n
"
);
fprintf
(
stderr
,
"test_reqrep_ipc running...
\n
"
);
...
...
tests/test_reqrep_tcp.cpp
View file @
08f6a9e7
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <stdio.h>
#include "testutil.hpp"
#include "testutil.hpp"
int
main
(
int
argc
,
char
*
argv
[]
)
int
main
(
void
)
{
{
fprintf
(
stderr
,
"test_reqrep_tcp running...
\n
"
);
fprintf
(
stderr
,
"test_reqrep_tcp running...
\n
"
);
...
...
tests/test_router_behavior.cpp
View file @
08f6a9e7
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <stdio.h>
#include "testutil.hpp"
#include "testutil.hpp"
int
main
(
int
argc
,
char
*
argv
[]
)
int
main
(
void
)
{
{
fprintf
(
stderr
,
"test_router_behavior running...
\n
"
);
fprintf
(
stderr
,
"test_router_behavior running...
\n
"
);
...
...
tests/test_shutdown_stress.cpp
View file @
08f6a9e7
...
@@ -44,7 +44,7 @@ extern "C"
...
@@ -44,7 +44,7 @@ extern "C"
}
}
}
}
int
main
(
int
argc
,
char
*
argv
[]
)
int
main
(
void
)
{
{
void
*
ctx
;
void
*
ctx
;
void
*
s1
;
void
*
s1
;
...
...
tests/test_sub_forward.cpp
View file @
08f6a9e7
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
#include "../include/zmq.h"
#include "../include/zmq.h"
#include "../include/zmq_utils.h"
#include "../include/zmq_utils.h"
int
main
(
int
argc
,
char
*
argv
[]
)
int
main
(
void
)
{
{
fprintf
(
stderr
,
"test_sub_forward running...
\n
"
);
fprintf
(
stderr
,
"test_sub_forward running...
\n
"
);
...
...
tests/test_term_endpoint.cpp
View file @
08f6a9e7
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
#include "../include/zmq_utils.h"
#include "../include/zmq_utils.h"
int
main
(
int
argc
,
char
*
argv
[]
)
int
main
(
void
)
{
{
int
rc
;
int
rc
;
char
buf
[
32
];
char
buf
[
32
];
...
...
tests/test_timeo.cpp
View file @
08f6a9e7
...
@@ -44,7 +44,7 @@ extern "C"
...
@@ -44,7 +44,7 @@ extern "C"
}
}
}
}
int
main
(
int
argc
,
char
*
argv
[]
)
int
main
(
void
)
{
{
fprintf
(
stderr
,
"test_timeo running...
\n
"
);
fprintf
(
stderr
,
"test_timeo running...
\n
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment