diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-02-15 08:19:27 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-02-15 08:19:27 +0000 |
commit | 5ad5b475cc0211e3d48232660a9f1548ac2aadb5 (patch) | |
tree | 8828e1ca68606e563aede87ea2a699fcf60c8543 /Build/source/texk/kpathsea/xopendir.c | |
parent | b9a895c295af055dfbc9599c2a763ed0d443d109 (diff) |
minor cleanup
git-svn-id: svn://tug.org/texlive/trunk@17034 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/xopendir.c')
-rw-r--r-- | Build/source/texk/kpathsea/xopendir.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Build/source/texk/kpathsea/xopendir.c b/Build/source/texk/kpathsea/xopendir.c index e948eb90131..adf81d67b87 100644 --- a/Build/source/texk/kpathsea/xopendir.c +++ b/Build/source/texk/kpathsea/xopendir.c @@ -1,6 +1,6 @@ /* xopendir.c: opendir and closedir with error checking. - Copyright 1992, 1993, 1994, 1995, 1996, 2008 Karl Berry. + Copyright 1992, 1993, 1994, 1995, 1996, 2008, 2010 Karl Berry. Copyright 2005 Olaf Weber. This library is free software; you can redistribute it and/or @@ -22,7 +22,7 @@ #if !defined(WIN32) || defined(__MINGW32__) DIR * -xopendir (string dirname) +xopendir (const_string dirname) { DIR *d = opendir(dirname); @@ -31,7 +31,6 @@ xopendir (string dirname) return d; } -#endif /* not WIN32 */ void xclosedir (DIR *d) @@ -45,4 +44,4 @@ xclosedir (DIR *d) FATAL("closedir failed"); #endif } - +#endif /* not WIN32 || __MINGW32__ */ |