summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/xstat.c
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/xstat.c
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/xstat.c')
-rw-r--r--Build/source/texk/kpathsea/xstat.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/Build/source/texk/kpathsea/xstat.c b/Build/source/texk/kpathsea/xstat.c
index 678e2fe411e..17a3992c0dd 100644
--- a/Build/source/texk/kpathsea/xstat.c
+++ b/Build/source/texk/kpathsea/xstat.c
@@ -22,7 +22,7 @@
struct stat
-xstat P1C(const_string, path)
+xstat (const_string path)
{
struct stat s;
@@ -43,13 +43,12 @@ xstat P1C(const_string, path)
// extern int lstat ();
*/
struct stat
-xlstat P1C(const_string, path)
+xlstat (const_string path)
{
struct stat s;
if (lstat(path, &s) != 0)
- FATAL_PERROR(path);
-
+ FATAL_PERROR(path);
return s;
}
#endif