diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-07-30 11:13:51 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-07-30 11:13:51 +0000 |
commit | be3092e5ae97b2849b4eb4710bda635c670c5ee6 (patch) | |
tree | 56698a8e4471a4df294d18bc646208c1af707e01 /Build/source/texk/kpathsea/dir.c | |
parent | 35415781f9b07704a404491bd1092ec880cec8c1 (diff) |
kpathsea: minor cleanup
git-svn-id: svn://tug.org/texlive/trunk@23277 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/dir.c')
-rw-r--r-- | Build/source/texk/kpathsea/dir.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Build/source/texk/kpathsea/dir.c b/Build/source/texk/kpathsea/dir.c index 37a556b343c..19d06fe4089 100644 --- a/Build/source/texk/kpathsea/dir.c +++ b/Build/source/texk/kpathsea/dir.c @@ -27,7 +27,7 @@ false if not. */ boolean -kpathsea_dir_p (kpathsea kpse, const_string fn) +kpathsea_dir_p (kpathsea kpse, string fn) { /* FIXME : using the stat() replacement in gnuw32, we could avoid this win32 specific code. However, @@ -36,7 +36,7 @@ kpathsea_dir_p (kpathsea kpse, const_string fn) #ifdef WIN32 int fa; - kpathsea_normalize_path(kpse, (string)fn); + kpathsea_normalize_path(kpse, fn); fa = GetFileAttributes(fn); #ifdef KPSE_DEBUG @@ -60,9 +60,9 @@ kpathsea_dir_p (kpathsea kpse, const_string fn) #if defined(KPSE_COMPAT_API) boolean -dir_p (const_string fn) +dir_p (string fn) { - return kpathsea_dir_p(kpse_def, fn); + return kpathsea_dir_p (kpse_def, fn); } #endif @@ -141,6 +141,6 @@ kpathsea_dir_links (kpathsea kpse, const_string fn, long nlinks) int dir_links (const_string fn, long nlinks) { - return kpathsea_dir_links(kpse_def, fn, nlinks); + return kpathsea_dir_links (kpse_def, fn, nlinks); } #endif |