summaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util.h')
-rw-r--r--util.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/util.h b/util.h
index a1c47e6..b9f45f4 100644
--- a/util.h
+++ b/util.h
@@ -11,6 +11,9 @@
int strnwidth(const char *s, int n);
void assert(int cond, const char *file, int line, const char *condstr);
+char *aprintf(const char *fmtstr, ...);
+char *appendstrf(char *alloc, const char *fmtstr, ...);
+
char *sanitized(const char *instr);
-char *aprintf(const char *fmtstr, ...);
+const char *timestr(unsigned int seconds);