summaryrefslogtreecommitdiff
path: root/i3status.c
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2009-10-24 13:39:36 +0200
committerMichael Stapelberg <michael@stapelberg.de>2009-10-24 13:39:36 +0200
commitf45906a08bb228829cb5e8cd8f202b58b7e80698 (patch)
tree7022ed19b0d995e0e1eef5d49fb73d2502c062b7 /i3status.c
parentea236a90daf4b20b16eba2e9c121166b34fc5332 (diff)
Fix function signature / pointer type
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;