From 707ceffc8b556a3797651d78c0c0f37bae9884ea Mon Sep 17 00:00:00 2001 From: Stu Zhao Date: Sun, 23 Oct 2016 15:20:31 -0400 Subject: Detect batteries using glob (#163) --- i3status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i3status.c') 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; -- cgit v1.2.3