From 6fc1aeb99cb939c4566f050c819ed6484b6f4e64 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 5 Mar 2016 17:57:26 +0100 Subject: [PATCH] collectdmon: mark pidfile as const --- src/collectdmon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/collectdmon.c b/src/collectdmon.c index a5ed065d..2c1d5897 100644 --- a/src/collectdmon.c +++ b/src/collectdmon.c @@ -66,8 +66,8 @@ static int loop = 0; static int restart = 0; -static char *pidfile = NULL; -static pid_t collectd_pid = 0; +static const char *pidfile = NULL; +static pid_t collectd_pid = 0; __attribute__((noreturn)) static void exit_usage (const char *name) -- 2.11.0