summaryrefslogtreecommitdiff
path: root/i3status.c
diff options
context:
space:
mode:
Diffstat (limited to 'i3status.c')
-rw-r--r--i3status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i3status.c b/i3status.c
index 5e17745..239729e 100644
--- a/i3status.c
+++ b/i3status.c
@@ -104,7 +104,7 @@ static void *scalloc(size_t size) {
return result;
}
-static char *sstrdup(const char *str) {
+char *sstrdup(const char *str) {
char *result = strdup(str);
exit_if_null(result, "Error: out of memory (strdup())\n");
return result;