mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-27 07:31:03 +08:00
Remove unused argc/argv parameters in tests.
This commit is contained in:
parent
c29aef4dd8
commit
08f6a9e7e8
@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include "../include/zmq.h"
|
||||
|
||||
static void *server (void *c)
|
||||
static void *server (void *)
|
||||
{
|
||||
void *socket, *context;
|
||||
char buffer[16];
|
||||
@ -88,7 +88,7 @@ static void *server (void *c)
|
||||
pthread_exit(NULL);
|
||||
}
|
||||
|
||||
static void *worker (void *n)
|
||||
static void *worker (void *)
|
||||
{
|
||||
void *socket, *context;
|
||||
int rc, hadone, val;
|
||||
@ -131,7 +131,7 @@ static void *worker (void *n)
|
||||
pthread_exit(NULL);
|
||||
}
|
||||
|
||||
int main (int argc, char *argv [])
|
||||
int main (void)
|
||||
{
|
||||
fprintf (stderr, "test_connect_delay running...\n");
|
||||
int val;
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
#include "../include/zmq.h"
|
||||
|
||||
int main (int argc, char *argv [])
|
||||
int main (void)
|
||||
{
|
||||
fprintf (stderr, "test_connect_resolve running...\n");
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include "testutil.hpp"
|
||||
|
||||
int main (int argc, char *argv [])
|
||||
int main (void)
|
||||
{
|
||||
fprintf (stderr, "test_hwm running...\n");
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int main (int argc, char *argv [])
|
||||
int main (void)
|
||||
{
|
||||
fprintf (stderr, "test_invalid_rep running...\n");
|
||||
|
||||
|
@ -35,7 +35,7 @@ static void do_bind_and_verify (void *s, const char *endpoint)
|
||||
assert (rc == 0 && strcmp (test, endpoint) == 0);
|
||||
}
|
||||
|
||||
int main (int argc, char *argv [])
|
||||
int main (void)
|
||||
{
|
||||
// Create the infrastructure
|
||||
void *ctx = zmq_init (1);
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include "../include/zmq.h"
|
||||
|
||||
int main (int argc, char *argv [])
|
||||
int main (void)
|
||||
{
|
||||
// Create the infrastructure
|
||||
void *ctx = zmq_init (0);
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <stdio.h>
|
||||
#include "testutil.hpp"
|
||||
|
||||
int main (int argc, char *argv [])
|
||||
int main (void)
|
||||
{
|
||||
fprintf (stderr, "test_pair_inproc running...\n");
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <stdio.h>
|
||||
#include "testutil.hpp"
|
||||
|
||||
int main (int argc, char *argv [])
|
||||
int main (void)
|
||||
{
|
||||
fprintf (stderr, "test_pair_ipc running...\n");
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <stdio.h>
|
||||
#include "testutil.hpp"
|
||||
|
||||
int main (int argc, char *argv [])
|
||||
int main (void)
|
||||
{
|
||||
fprintf (stderr, "test_pair_tcp running...\n");
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
#include "../include/zmq.h"
|
||||
|
||||
int main (int argc, char *argv [])
|
||||
int main (void)
|
||||
{
|
||||
fprintf (stderr, "test_reqrep_device running...\n");
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <stdio.h>
|
||||
#include "testutil.hpp"
|
||||
|
||||
int main (int argc, char *argv [])
|
||||
int main (void)
|
||||
{
|
||||
fprintf (stderr, "test_reqrep_inproc running...\n");
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <stdio.h>
|
||||
#include "testutil.hpp"
|
||||
|
||||
int main (int argc, char *argv [])
|
||||
int main (void)
|
||||
{
|
||||
fprintf (stderr, "test_reqrep_ipc running...\n");
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <stdio.h>
|
||||
#include "testutil.hpp"
|
||||
|
||||
int main (int argc, char *argv [])
|
||||
int main (void)
|
||||
{
|
||||
fprintf (stderr, "test_reqrep_tcp running...\n");
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <stdio.h>
|
||||
#include "testutil.hpp"
|
||||
|
||||
int main (int argc, char *argv [])
|
||||
int main (void)
|
||||
{
|
||||
fprintf (stderr, "test_router_behavior running...\n");
|
||||
|
||||
|
@ -44,7 +44,7 @@ extern "C"
|
||||
}
|
||||
}
|
||||
|
||||
int main (int argc, char *argv [])
|
||||
int main (void)
|
||||
{
|
||||
void *ctx;
|
||||
void *s1;
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "../include/zmq.h"
|
||||
#include "../include/zmq_utils.h"
|
||||
|
||||
int main (int argc, char *argv [])
|
||||
int main (void)
|
||||
{
|
||||
fprintf (stderr, "test_sub_forward running...\n");
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include "../include/zmq_utils.h"
|
||||
|
||||
|
||||
int main (int argc, char *argv [])
|
||||
int main (void)
|
||||
{
|
||||
int rc;
|
||||
char buf[32];
|
||||
|
@ -44,7 +44,7 @@ extern "C"
|
||||
}
|
||||
}
|
||||
|
||||
int main (int argc, char *argv [])
|
||||
int main (void)
|
||||
{
|
||||
fprintf (stderr, "test_timeo running...\n");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user