diff options
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/threads/gss-perf.c | 4 | ||||
-rw-r--r-- | src/tests/threads/init_ctx.c | 2 | ||||
-rw-r--r-- | src/tests/threads/profread.c | 2 | ||||
-rw-r--r-- | src/tests/threads/t_rcache.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/tests/threads/gss-perf.c b/src/tests/threads/gss-perf.c index f3630c2..0ca6d84 100644 --- a/src/tests/threads/gss-perf.c +++ b/src/tests/threads/gss-perf.c @@ -78,7 +78,7 @@ static void usage (void) __attribute__((noreturn)); static void set_target (char *); static void -usage () +usage (void) { fprintf (stderr, "usage: %s [ options ] service-name\n", prog); fprintf (stderr, " service-name\tGSSAPI host-based service name (e.g., 'host@FQDN')\n"); @@ -249,7 +249,7 @@ do_accept (gss_buffer_desc *msg, int iter) } static gss_buffer_desc -do_init () +do_init (void) { OM_uint32 maj_stat, min_stat; gss_ctx_id_t ctx = GSS_C_NO_CONTEXT; diff --git a/src/tests/threads/init_ctx.c b/src/tests/threads/init_ctx.c index 42619a9..dc3d417 100644 --- a/src/tests/threads/init_ctx.c +++ b/src/tests/threads/init_ctx.c @@ -57,7 +57,7 @@ static int do_pause; static void usage (void) __attribute__((noreturn)); static void -usage () +usage (void) { fprintf (stderr, "usage: %s [ options ]\n", prog); fprintf (stderr, "options:\n"); diff --git a/src/tests/threads/profread.c b/src/tests/threads/profread.c index be28ba4..69bdb05 100644 --- a/src/tests/threads/profread.c +++ b/src/tests/threads/profread.c @@ -59,7 +59,7 @@ static int do_pause; static void usage (void) __attribute__((noreturn)); static void -usage () +usage (void) { fprintf (stderr, "usage: %s [ options ]\n", prog); fprintf (stderr, "options:\n"); diff --git a/src/tests/threads/t_rcache.c b/src/tests/threads/t_rcache.c index 07c45cc..8121429 100644 --- a/src/tests/threads/t_rcache.c +++ b/src/tests/threads/t_rcache.c @@ -51,7 +51,7 @@ int n_threads = DEFAULT_N_THREADS; int interval = DEFAULT_INTERVAL; int *ip; -static void wait_for_tick () +static void wait_for_tick (void) { time_t now, next; now = time(0); |