From f45906a08bb228829cb5e8cd8f202b58b7e80698 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 24 Oct 2009 13:39:36 +0200 Subject: Fix function signature / pointer type --- i3status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3