From cfafed075b28af40ee6d53d102cd9f1792010eaf Mon Sep 17 00:00:00 2001 From: Ashish Kumar Yadav Date: Sat, 5 Dec 2020 03:38:37 +0530 Subject: [PATCH] A const pointer would be more appropriate --- dwmblocks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dwmblocks.c b/dwmblocks.c index 98cf673..3dc2b66 100644 --- a/dwmblocks.c +++ b/dwmblocks.c @@ -17,8 +17,8 @@ #define LENGTH(X) (sizeof X / sizeof X[0]) typedef struct { - char *pathu; - char *pathc; + char *const pathu; + char *const pathc; const int interval; const int signal; char cmdoutcur[CMDLENGTH];