aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cbs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cbs.h b/cbs.h
index 2f147c6..f04be48 100644
--- a/cbs.h
+++ b/cbs.h
@@ -162,7 +162,7 @@ static void cmdputf(FILE *, cmd_t);
/* Returns if a file exists at the given path. A return value of false may also
mean you don’t have the proper file access permissions, which will also set
errno. */
-static bool fexists(char *);
+static bool fexists(const char *);
/* Compare the modification dates of the two named files.
@@ -491,7 +491,7 @@ cmdputf(FILE *stream, cmd_t cmd)
}
bool
-fexists(char *f)
+fexists(const char *f)
{
return !access(f, F_OK);
}