A const pointer would be more appropriate
This commit is contained in:
parent
7f688e4464
commit
cfafed075b
|
@ -17,8 +17,8 @@
|
||||||
#define LENGTH(X) (sizeof X / sizeof X[0])
|
#define LENGTH(X) (sizeof X / sizeof X[0])
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
char *pathu;
|
char *const pathu;
|
||||||
char *pathc;
|
char *const pathc;
|
||||||
const int interval;
|
const int interval;
|
||||||
const int signal;
|
const int signal;
|
||||||
char cmdoutcur[CMDLENGTH];
|
char cmdoutcur[CMDLENGTH];
|
||||||
|
|
Loading…
Reference in a new issue