summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/xfopen.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/xfopen.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/xfopen.c')
-rw-r--r--Build/source/texk/kpathsea/xfopen.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/xfopen.c b/Build/source/texk/kpathsea/xfopen.c
index 804dda0282f..74c02ee297a 100644
--- a/Build/source/texk/kpathsea/xfopen.c
+++ b/Build/source/texk/kpathsea/xfopen.c
@@ -23,7 +23,7 @@
routines and abort if an error happens. */
FILE *
-xfopen P2C(const_string, filename, const_string, mode)
+xfopen (const_string filename, const_string mode)
{
FILE *f;
@@ -38,10 +38,11 @@ xfopen P2C(const_string, filename, const_string, mode)
void
-xfclose P2C(FILE *, f, const_string, filename)
+xfclose (FILE *f, const_string filename)
{
assert(f);
if (fclose(f) == EOF)
FATAL_PERROR(filename);
+
}