From: Ruben Kerkhof Date: Tue, 1 Mar 2016 10:52:47 +0000 (+0100) Subject: collectd.c: mark notify_upstart as static X-Git-Tag: collectd-5.5.2~53 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=697979326e815e93ce301a802575bec5737ce3df;p=collectd.git collectd.c: mark notify_upstart as static Commit straight to 5.5. This function didn't exist in 5.4. --- diff --git a/src/daemon/collectd.c b/src/daemon/collectd.c index ad069992..21bf23fd 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");