From: Andre Noll Date: Fri, 17 Feb 2017 14:15:10 +0000 (+0100) Subject: ipc.c: Constify parameter of get_key_or_die(). X-Git-Tag: v0.1.7~3 X-Git-Url: http://git.tuebingen.mpg.de/?p=dss.git;a=commitdiff_plain;h=b795331d8f7006e1cd15ddf124baf1384347d2db ipc.c: Constify parameter of get_key_or_die(). The function only reads from the location pointed at by the config_file variable. --- diff --git a/ipc.c b/ipc.c index f0a8341..f7a676e 100644 --- a/ipc.c +++ b/ipc.c @@ -228,7 +228,7 @@ error: return ret; } -static inline int get_key_or_die(char *config_file) +static inline int get_key_or_die(const char *config_file) { int ret; struct stat statbuf;