summaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2017-05-08 17:40:37 +0700
committerJunio C Hamano <gitster@pobox.com>2017-05-26 12:33:56 +0900
commit382fb07f7bbb1f94fa3e1293d5df151725a886a3 (patch)
treec7a036f3c694f549c68f521f44a2c3e14df97f66 /git-compat-util.h
parente9d983f116c7de43f40a49aae60ebfe107f153ec (diff)
downloadgit-382fb07f7bbb1f94fa3e1293d5df151725a886a3.tar.gz
wrapper.c: make warn_on_inaccessible() static
After the last patch, this function is not used outside anymore. Keep it static. Noticed-by: Ramsay Jones <ramsay@ramsayjones.plus.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-compat-util.h')
-rw-r--r--git-compat-util.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index f74b401810..87f47828a5 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -1100,8 +1100,6 @@ int remove_or_warn(unsigned int mode, const char *path);
int access_or_warn(const char *path, int mode, unsigned flag);
int access_or_die(const char *path, int mode, unsigned flag);
-/* Warn on an inaccessible file that ought to be accessible */
-void warn_on_inaccessible(const char *path);
/* Warn on an inaccessible file if errno indicates this is an error */
int warn_on_fopen_errors(const char *path);