diff options
author | Orestis Floros <orestisflo@gmail.com> | 2020-05-01 12:15:30 +0200 |
---|---|---|
committer | Orestis Floros <orestisflo@gmail.com> | 2020-05-01 12:16:55 +0200 |
commit | d8e8eb2eef04443d3489d79cf5bf02d8ee2373c2 (patch) | |
tree | 84620675c39db4a78bd1fb7ce52cba83c8b9f56e /include/i3status.h | |
parent | 675c423647864837e1261a01202cd932d548e1cd (diff) |
Move general functions scalloc, sstrdup out of i3status.c
Diffstat (limited to 'include/i3status.h')
-rw-r--r-- | include/i3status.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/i3status.h b/include/i3status.h index 6e5278f..575d2d9 100644 --- a/include/i3status.h +++ b/include/i3status.h @@ -183,13 +183,14 @@ struct min_width { const char *str; }; -char *sstrdup(const char *str); - /* src/general.c */ char *skip_character(char *input, char character, int amount); void die(const char *fmt, ...) __attribute__((format(printf, 1, 2), noreturn)); bool slurp(const char *filename, char *destination, int size); +char *resolve_tilde(const char *path); +void *scalloc(size_t size); +char *sstrdup(const char *str); /* src/output.c */ void print_separator(const char *separator); |