Code

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 ad069992414fb8fdb01dfa4d65ff911ed213a2e9..21bf23fdefdc7fe4af5efd75848531e944fe704e 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");