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 909ef88..f2d055d 100644
--- a/i3status.c
+++ b/i3status.c
@@ -45,7 +45,7 @@ void sigpipe(int signum) {
* full path if so or NULL if there is no file.
*
*/
-char *file_exists(const char *path) {
+static char *file_exists(char *path) {
static glob_t globbuf;
struct stat buf;
char *full_path = NULL;