diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-08-02 15:41:52 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-08-02 15:41:52 +0000 |
commit | 49f47e772fcf8d5b6148eba21ffb438fa35c8c00 (patch) | |
tree | c13a5f8aaad9d4c8328e898a08a1160a72da74e0 /Build/source/texk/kpathsea/path-elt.c | |
parent | 6c2467cbb8e21577155060c598661d71024c1893 (diff) |
kpathsea: unexport library internal functions, remove unused ones
git-svn-id: svn://tug.org/texlive/trunk@23317 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/path-elt.c')
-rw-r--r-- | Build/source/texk/kpathsea/path-elt.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/Build/source/texk/kpathsea/path-elt.c b/Build/source/texk/kpathsea/path-elt.c index cadd6091806..b40032ecd4c 100644 --- a/Build/source/texk/kpathsea/path-elt.c +++ b/Build/source/texk/kpathsea/path-elt.c @@ -91,15 +91,6 @@ kpathsea_path_element (kpathsea kpse, const_string p) return element (kpse, p, true); } -#if defined (KPSE_COMPAT_API) -string -kpse_path_element (const_string p) -{ - return kpathsea_path_element (kpse_def, p); -} -#endif - - string kpathsea_filename_component (kpathsea kpse, const_string p) { @@ -114,8 +105,8 @@ print_path_elements (const_string path) string elt; printf ("Elements of `%s':", path ? path : "(null)"); - for (elt = kpse_path_element (path); elt != NULL; - elt = kpse_path_element (NULL)) + for (elt = kpathsea_path_element (kpse_def, path); elt != NULL; + elt = kpathsea_path_element (kpse_def, NULL)) { printf (" %s", *elt ? elt : "`'"); } |