Revision 6578a604 sysdep/unix/main.c

View differences:

sysdep/unix/main.c
81 81
}
82 82

  
83 83
int
84
sysdep_commit(struct config *new, struct config *old)
84
sysdep_commit(struct config *new, struct config *old UNUSED)
85 85
{
86 86
  log_switch(debug_flag, &new->logfiles);
87 87
  return 0;
......
223 223
}
224 224

  
225 225
static int
226
cli_rx(sock *s, int size)
226
cli_rx(sock *s, int size UNUSED)
227 227
{
228 228
  cli_kick(s->data);
229 229
  return 0;
......
252 252
}
253 253

  
254 254
static int
255
cli_connect(sock *s, int size)
255
cli_connect(sock *s, int size UNUSED)
256 256
{
257 257
  cli *c;
258 258

  
......
306 306
 */
307 307

  
308 308
static void
309
handle_sighup(int sig)
309
handle_sighup(int sig UNUSED)
310 310
{
311 311
  DBG("Caught SIGHUP...\n");
312 312
  async_config_flag = 1;
313 313
}
314 314

  
315 315
static void
316
handle_sigusr(int sig)
316
handle_sigusr(int sig UNUSED)
317 317
{
318 318
  DBG("Caught SIGUSR...\n");
319 319
  async_dump_flag = 1;
320 320
}
321 321

  
322 322
static void
323
handle_sigterm(int sig)
323
handle_sigterm(int sig UNUSED)
324 324
{
325 325
  DBG("Caught SIGTERM...\n");
326 326
  async_shutdown_flag = 1;

Also available in: Unified diff