summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/kdefault.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2011-08-02 15:41:52 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2011-08-02 15:41:52 +0000
commit49f47e772fcf8d5b6148eba21ffb438fa35c8c00 (patch)
treec13a5f8aaad9d4c8328e898a08a1160a72da74e0 /Build/source/texk/kpathsea/kdefault.c
parent6c2467cbb8e21577155060c598661d71024c1893 (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/kdefault.c')
-rw-r--r--Build/source/texk/kpathsea/kdefault.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/Build/source/texk/kpathsea/kdefault.c b/Build/source/texk/kpathsea/kdefault.c
index 52493d90560..bc25a5c2023 100644
--- a/Build/source/texk/kpathsea/kdefault.c
+++ b/Build/source/texk/kpathsea/kdefault.c
@@ -3,7 +3,7 @@
make a program `default' from it, since we have a target `default';
and OSF/1 make doesn't understand .PHONY.)
- Copyright 1993, 1994, 1996, 2008, 2009 Karl Berry.
+ Copyright 1993, 1994, 1996, 2008, 2009, 2011 Karl Berry.
Copyright 2002, 2005 Olaf Weber.
This library is free software; you can redistribute it and/or
@@ -84,14 +84,6 @@ kpathsea_expand_default (kpathsea kpse, const_string path,
return expansion;
}
-#if defined (KPSE_COMPAT_API)
-string
-kpse_expand_default (const_string path, const_string fallback)
-{
- return kpathsea_expand_default (kpse_def, path, fallback);
-}
-#endif
-
#ifdef TEST
@@ -101,7 +93,7 @@ test_expand_default (const_string path, const_string def)
string answer;
printf ("Expansion of `%s':\t", path ? path : "(nil)");
- answer = kpse_expand_default (path, def);
+ answer = kpathsea_expand_default (kpse_def, path, def);
puts (answer);
}