placeholder_t: Make char*s const

Similarly to https://github.com/i3/i3status/pull/412
This commit is contained in:
Orestis Floros
2020-05-01 01:13:12 +02:00
parent 5f9cbb12b8
commit c6cf0d32b9
2 changed files with 6 additions and 6 deletions

View File

@ -543,9 +543,9 @@ int mkdirp(const char *path, mode_t mode);
/** Helper structure for usage in format_placeholders(). */
typedef struct placeholder_t {
/* The placeholder to be replaced, e.g., "%title". */
char *name;
const char *name;
/* The value this placeholder should be replaced with. */
char *value;
const char *value;
} placeholder_t;
/**