aboutsummaryrefslogtreecommitdiff
path: root/i3status.c
diff options
context:
space:
mode:
authorMichael Stapelberg2009-10-24 13:39:36 +0200
committerMichael Stapelberg2009-10-24 13:39:36 +0200
commitf45906a08bb228829cb5e8cd8f202b58b7e80698 (patch)
tree7022ed19b0d995e0e1eef5d49fb73d2502c062b7 /i3status.c
parentconfig: first try ~/.i3status.conf, then /etc/i3status.conf (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;