A const pointer would be more appropriate

This commit is contained in:
Ashish Kumar Yadav 2020-12-05 03:38:37 +05:30
parent 7f688e4464
commit cfafed075b

View file

@ -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];