summaryrefslogtreecommitdiff
path: root/symlinks.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-04-22 20:17:09 (GMT)
committerJunio C Hamano <gitster@pobox.com>2023-04-24 19:47:31 (GMT)
commitcb2a51356d3019582128a818aea533ccd11f42c0 (patch)
tree6d0ce1d25618f84fbcd5fa9713722b474ed22fb9 /symlinks.c
parent69a63fe663874716d2b5bf49b90c550f8279358e (diff)
downloadgit-cb2a51356d3019582128a818aea533ccd11f42c0.zip
git-cb2a51356d3019582128a818aea533ccd11f42c0.tar.gz
git-cb2a51356d3019582128a818aea533ccd11f42c0.tar.bz2
symlinks.h: move declarations for symlinks.c functions from cache.h
Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'symlinks.c')
-rw-r--r--symlinks.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/symlinks.c b/symlinks.c
index 27ecc93..b29e340 100644
--- a/symlinks.c
+++ b/symlinks.c
@@ -1,6 +1,7 @@
-#include "cache.h"
+#include "git-compat-util.h"
#include "gettext.h"
#include "setup.h"
+#include "symlinks.h"
static int threaded_check_leading_path(struct cache_def *cache, const char *name,
int len, int warn_on_lstat_err);