projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Treewide: cleanup whitespace
[collectd.git]
/
src
/
collectdmon.c
diff --git
a/src/collectdmon.c
b/src/collectdmon.c
index
65271dd
..
2c1d589
100644
(file)
--- a/
src/collectdmon.c
+++ b/
src/collectdmon.c
@@
-66,10
+66,11
@@
static int loop = 0;
static int restart = 0;
static int loop = 0;
static int restart = 0;
-static c
har
*pidfile = NULL;
-static pid_t collectd_pid = 0;
+static c
onst char
*pidfile = NULL;
+static pid_t
collectd_pid = 0;
-static void exit_usage (char *name)
+__attribute__((noreturn))
+static void exit_usage (const char *name)
{
printf ("Usage: %s <options> [-- <collectd options>]\n"
{
printf ("Usage: %s <options> [-- <collectd options>]\n"