commit 3a3a5c7edc94bec2ac75acebb074d19b4bd7940b
parent 59f7c0418994c579e268ef2f65e4c4d9e462ee8f
Author: Francesco Saccone <francesco@francescosaccone.com>
Date: Mon, 31 Mar 2025 16:14:49 +0200
fix: use 'char *' instead of 'const char *'
Signed-off-by: Francesco Saccone <francesco@francescosaccone.com>
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/file.c b/file.c
@@ -3,6 +3,6 @@
#include <unistd.h>
int
-file_exists(const char *path) {
+file_exists(char *path) {
return (access(path, R_OK) == 0);
}
diff --git a/file.h b/file.h
@@ -2,6 +2,6 @@
#define FILE_H
int
-file_exists(const char *path);
+file_exists(char *path);
#endif