collectd.c: mark notify_upstart as static
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 1 Mar 2016 10:52:47 +0000 (11:52 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 1 Mar 2016 10:52:47 +0000 (11:52 +0100)
Commit straight to 5.5. This function didn't exist in 5.4.

src/daemon/collectd.c

index ad06999..21bf23f 100644 (file)
@@ -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");