From d8e8eb2eef04443d3489d79cf5bf02d8ee2373c2 Mon Sep 17 00:00:00 2001 From: Orestis Floros Date: Fri, 1 May 2020 12:15:30 +0200 Subject: Move general functions scalloc, sstrdup out of i3status.c --- include/i3status.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/i3status.h') 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); -- cgit v1.2.3