summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/xstat.h
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-02-11 10:10:34 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-02-11 10:10:34 +0000
commit0a379f3570e256634fa48b143b6a46bf508eb150 (patch)
tree1343ba8a25c16b71c62353b24a01bf3070d99c56 /Build/source/texk/kpathsea/xstat.h
parentce51c79c2c2f0d62a7f86a7d0e760d9c711e5dbf (diff)
unexport libkpathsea internal function prototypes
git-svn-id: svn://tug.org/texlive/trunk@16967 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/xstat.h')
-rw-r--r--Build/source/texk/kpathsea/xstat.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/xstat.h b/Build/source/texk/kpathsea/xstat.h
index c256687b4ba..37eb65f91fe 100644
--- a/Build/source/texk/kpathsea/xstat.h
+++ b/Build/source/texk/kpathsea/xstat.h
@@ -1,6 +1,6 @@
/* xstat.h: stat with error checking.
- Copyright 1992, 1993, 1994, 2008 Karl Berry.
+ Copyright 1992, 1993, 1994, 2008, 2010 Karl Berry.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -28,6 +28,8 @@
#define SAME_FILE_P(s1, s2) \
((s1).st_ino == (s2).st_ino && (s1).st_dev == (s2).st_dev)
+#ifdef MAKE_KPSE_DLL /* libkpathsea internal only */
+
/* Does stat(2) on PATH, and aborts if the stat fails. */
extern struct stat xstat (const_string path);
@@ -38,4 +40,6 @@ extern struct stat xlstat (const_string path);
#define xlstat xstat
#endif
+#endif /* MAKE_KPSE_DLL */
+
#endif /* not KPATHSEA_XSTAT_H */