]> git.sur5r.net Git - i3/i3status/blobdiff - i3status.c
Fix function signature / pointer type
[i3/i3status] / i3status.c
index 909ef88dbd29b94f13843b6380999b48cb4ceeac..f2d055def82dda7c41ce17fb3317358621efdaa0 100644 (file)
@@ -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;