diff --git a/src/collectd.c b/src/collectd.c
index c9ae66dd550cf8373ded07b341e2964991143b50..2d161aad6062815d4bdf220a7f30c02319e33075 100644 (file)
--- a/src/collectd.c
+++ b/src/collectd.c
/* TODO
* Remove all settings but `-f' and `-C'
*/
-static void exit_usage (char *name)
+static void exit_usage (void)
{
printf ("Usage: "PACKAGE" [OPTIONS]\n\n"
#endif
/* Issue all plugins */
- plugin_read_all (&loop);
+ plugin_read_all ();
if (gettimeofday (&tv_now, NULL) < 0)
{
#endif /* COLLECT_DAEMON */
case 'h':
default:
- exit_usage (argv[0]);
+ exit_usage ();
} /* switch (c) */
} /* while (1) */