summaryrefslogtreecommitdiff
path: root/src/io.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2013-07-17 09:56:56 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2013-07-17 14:03:54 +0200
commitbeac8bdd9be41c0bc17d85429ca74b4f6aa99a3e (patch)
treebb699ab539d197fe83c06bd908776dcbe6a8619a /src/io.c
parent98fb747e6ae7ccded2e8aa46154df5d834a72e1a (diff)
downloadcalcurse-beac8bdd9be41c0bc17d85429ca74b4f6aa99a3e.zip
Rename io_file_exist{,s}()
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/io.c')
-rw-r--r--src/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/io.c b/src/io.c
index 7448227..737be12 100644
--- a/src/io.c
+++ b/src/io.c
@@ -872,7 +872,7 @@ int io_check_dir(const char *dir)
}
}
-unsigned io_file_exist(const char *file)
+unsigned io_file_exists(const char *file)
{
FILE *fd;
@@ -890,7 +890,7 @@ int io_check_file(const char *file)
return -1;
errno = 0;
- if (io_file_exist(file)) {
+ if (io_file_exists(file)) {
return 1;
} else {
FILE *fd;