summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-25 17:08:29 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-25 17:08:29 +0000
commit01b1047166af33b7941ebe233dcfa54684e90898 (patch)
treed939eaa65f40d3b92e9d58083b9243c74d18f3e3 /Build
parent14c641fc12687352471d2869caf1bf5cfc07175b (diff)
use new header <kpathsea/version.h>
git-svn-id: svn://tug.org/texlive/trunk@13961 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/kpathsea/ChangeLog4
-rw-r--r--Build/source/texk/kpathsea/kpsewhich.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index 4c99cb3dd4e..547ca6d0e09 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -2,7 +2,9 @@
* version.h (new): header file for definitions in version.c.
* version.c: #include <kpathsea/version.h>.
- * Makefile.am: add the new header.
+ * Makefile.am: add version.h.
+
+ * kpsewhich.c: #include <kpathsea/version.h>.
2009-06-23 Peter Breitenlohner <peb@mppmu.mpg.de>
diff --git a/Build/source/texk/kpathsea/kpsewhich.c b/Build/source/texk/kpathsea/kpsewhich.c
index e187482672d..9c7fafb340f 100644
--- a/Build/source/texk/kpathsea/kpsewhich.c
+++ b/Build/source/texk/kpathsea/kpsewhich.c
@@ -29,6 +29,7 @@
#include <kpathsea/tex-glyph.h>
#include <kpathsea/variable.h>
#include <kpathsea/progname.h>
+#include <kpathsea/version.h>
/* Base resolution. (-D, -dpi) */
@@ -416,7 +417,6 @@ read_command_line (kpathsea kpse, int argc, string *argv)
} else if (ARGUMENT_IS ("help")) {
int f; /* kpse_file_format_type */
- extern KPSEDLL char *kpathsea_bug_address; /* from version.c */
printf ("Usage: %s [OPTION]... [FILENAME]...\n", argv[0]);
fputs (USAGE, stdout);
@@ -474,7 +474,6 @@ read_command_line (kpathsea kpse, int argc, string *argv)
var_to_value = optarg;
} else if (ARGUMENT_IS ("version")) {
- extern KPSEDLL char *kpathsea_version_string; /* from version.c */
puts (kpathsea_version_string);
puts ("Copyright 2009 Karl Berry & Olaf Weber.\n\
License LGPLv2.1+: GNU Lesser GPL version 2.1 or later <http://gnu.org/licenses/lgpl.html>\n\