summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/truncate.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/truncate.h')
-rw-r--r--Build/source/texk/kpathsea/truncate.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/truncate.h b/Build/source/texk/kpathsea/truncate.h
index 966e2319287..893cc728f45 100644
--- a/Build/source/texk/kpathsea/truncate.h
+++ b/Build/source/texk/kpathsea/truncate.h
@@ -24,6 +24,10 @@
/* Truncate any component in NAME longer than the system NAME_MAX, and
return the result as a malloced string. If none, return a copy of
NAME. */
-extern string kpse_truncate_filename P1H(const_string name);
+extern string kpathsea_truncate_filename (kpathsea kpse, const_string name);
+
+#if defined (KPSE_COMPAT_API)
+extern string kpse_truncate_filename (const_string name);
+#endif
#endif /* not KPATHSEA_TRUNCATE_H */