diff options
author | Martin Mares <mj@ucw.cz> | 2004-06-05 09:11:07 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2004-06-05 09:11:07 +0000 |
commit | 6578a60493f9dbf83d6485ac99635094bef2af7d (patch) | |
tree | ed05e6987ffd967173f0cd4815a09900931b3e3b /sysdep/unix/main.c | |
parent | 7c103b1ee17a274fa062fcf4b14234b48db8123a (diff) |
Marked unused parameters in sysdep code as such.
Diffstat (limited to 'sysdep/unix/main.c')
-rw-r--r-- | sysdep/unix/main.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c index be3cf820..ec8802bd 100644 --- a/sysdep/unix/main.c +++ b/sysdep/unix/main.c @@ -81,7 +81,7 @@ sysdep_preconfig(struct config *c) } int -sysdep_commit(struct config *new, struct config *old) +sysdep_commit(struct config *new, struct config *old UNUSED) { log_switch(debug_flag, &new->logfiles); return 0; @@ -223,7 +223,7 @@ cli_get_command(cli *c) } static int -cli_rx(sock *s, int size) +cli_rx(sock *s, int size UNUSED) { cli_kick(s->data); return 0; @@ -252,7 +252,7 @@ cli_err(sock *s, int err) } static int -cli_connect(sock *s, int size) +cli_connect(sock *s, int size UNUSED) { cli *c; @@ -306,21 +306,21 @@ sysdep_shutdown_done(void) */ static void -handle_sighup(int sig) +handle_sighup(int sig UNUSED) { DBG("Caught SIGHUP...\n"); async_config_flag = 1; } static void -handle_sigusr(int sig) +handle_sigusr(int sig UNUSED) { DBG("Caught SIGUSR...\n"); async_dump_flag = 1; } static void -handle_sigterm(int sig) +handle_sigterm(int sig UNUSED) { DBG("Caught SIGTERM...\n"); async_shutdown_flag = 1; |