summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/kpathsea.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-03-19 12:48:44 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-03-19 12:48:44 +0000
commitee507bbd1fc483c58acb33cca25509a4dd81df9b (patch)
treef4f74adeddb82943b2c71f75122d51f4bff95d6b /Build/source/texk/kpathsea/kpathsea.c
parent5791df04b9278e1986c968c314e3f8992ce0e52c (diff)
omit initializer for global struct kpse_def_inst
git-svn-id: svn://tug.org/texlive/trunk@12427 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/kpathsea.c')
-rw-r--r--Build/source/texk/kpathsea/kpathsea.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/kpathsea.c b/Build/source/texk/kpathsea/kpathsea.c
index e6395ab96f0..e0a13a4488b 100644
--- a/Build/source/texk/kpathsea/kpathsea.c
+++ b/Build/source/texk/kpathsea/kpathsea.c
@@ -113,6 +113,12 @@ kpathsea_finish (kpathsea kpse)
#if defined (KPSE_COMPAT_API)
+/*
+ * FIXME: completely remove the initializer.
+ */
+
+#if 0
+
#define NULL_FORMAT_INFO(kpse_file_format_type) { \
NULL, /* const_string type */ \
NULL, /* const_string path */ \
@@ -223,6 +229,12 @@ kpathsea_instance kpse_def_inst = {
0 /* int saved_count */
};
+#else /* zero */
+
+kpathsea_instance kpse_def_inst;
+
+#endif /* zero */
+
kpathsea kpse_def = &kpse_def_inst;
#endif