From: Michael Stapelberg Date: Sat, 24 Oct 2009 11:39:36 +0000 (+0200) Subject: Fix function signature / pointer type X-Git-Tag: 2.0~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f45906a08bb228829cb5e8cd8f202b58b7e80698;p=i3%2Fi3status Fix function signature / pointer type --- 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;