summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/truncate.h
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-03-16 15:13:07 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-03-16 15:13:07 +0000
commite967e0cc978d647040ac5616d389e9007d593464 (patch)
tree1f33ce27a77473b2e90b549d42399b73d4123497 /Build/source/texk/kpathsea/truncate.h
parent49f1fb6887627cdb7cf524aaef9b92108c894381 (diff)
new reentrant kpathsea API (from Taco)
git-svn-id: svn://tug.org/texlive/trunk@12401 c570f23f-e606-0410-a88d-b1316a301751
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 */