X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2Fcollectd.c;h=6e625bbb04cdc062f87335a45153523a6cf75c57;hb=76cb3ac0d3b6e7b895326a284e27a224ba795079;hp=ad069992414fb8fdb01dfa4d65ff911ed213a2e9;hpb=9b7dee8838f56233cea2854a7ddbcad2790609ce;p=collectd.git diff --git a/src/daemon/collectd.c b/src/daemon/collectd.c index ad069992..6e625bbb 100644 --- a/src/daemon/collectd.c +++ b/src/daemon/collectd.c @@ -423,7 +423,7 @@ static int pidfile_remove (void) #endif /* COLLECT_DAEMON */ #ifdef KERNEL_LINUX -int notify_upstart (void) +static int notify_upstart (void) { const char *upstart_job = getenv("UPSTART_JOB"); @@ -440,7 +440,7 @@ int notify_upstart (void) return 1; } -int notify_systemd (void) +static int notify_systemd (void) { int fd = -1; const char *notifysocket = getenv("NOTIFY_SOCKET");