diff options
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 : "`'"); } |