diff options
author | Ingo Bürk <admin@airblader.de> | 2020-05-01 09:41:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-01 09:41:56 +0200 |
commit | eb6c840c38ebd2d7797ea599b9e8207a2e8e5033 (patch) | |
tree | dc631befd90ecd34ac2fac9ddf1199e0ca006bbb /include/i3status.h | |
parent | 57218e98de20ef2a779f4b33a6d742d52a0bf0f8 (diff) | |
parent | a68524ee4a7cbf120382a7b678a7820f07b10bf5 (diff) |
Merge pull request #412 from orestisfl/warnings
Fix various warnings
Diffstat (limited to 'include/i3status.h')
-rw-r--r-- | include/i3status.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/i3status.h b/include/i3status.h index e0dff2b..6e5278f 100644 --- a/include/i3status.h +++ b/include/i3status.h @@ -206,9 +206,9 @@ char *trim(const char *s); /* src/format_placeholders.c */ typedef struct { /* 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; char *format_placeholders(const char *format, placeholder_t *placeholders, int num); |