summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/cnf.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-12-11 14:28:06 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-12-11 14:28:06 +0000
commit3226a8894c9f90a96a776fe36456af2cc2d078c7 (patch)
tree5d1387ede5191c9dc0ca5a1b113642cc04c48d32 /Build/source/texk/kpathsea/cnf.c
parentfc101b568d7547030fceb58ab5f097d457d49c57 (diff)
kpathsea: Resolve some const related problems
git-svn-id: svn://tug.org/texlive/trunk@28500 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/cnf.c')
-rw-r--r--Build/source/texk/kpathsea/cnf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/kpathsea/cnf.c b/Build/source/texk/kpathsea/cnf.c
index 1f9dc744c88..fe0f49df2c2 100644
--- a/Build/source/texk/kpathsea/cnf.c
+++ b/Build/source/texk/kpathsea/cnf.c
@@ -224,11 +224,11 @@ read_all_cnf (kpathsea kpse)
/* Read the cnf files on the first call. Return the first value in the
returned list -- this will be from the last-read cnf file. */
-string
+const_string
kpathsea_cnf_get (kpathsea kpse, const_string name)
{
- string ret, ctry;
- string *ret_list;
+ string ctry;
+ const_string ret, *ret_list;
/* When we expand the compile-time value for DEFAULT_TEXMFCNF,
we end up needing the value for TETEXDIR and other variables,
@@ -273,7 +273,7 @@ kpathsea_cnf_get (kpathsea kpse, const_string name)
}
#if defined(KPSE_COMPAT_API)
-string
+const_string
kpse_cnf_get (const_string name)
{
return kpathsea_cnf_get(kpse_def, name);