diff options
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/kpathsea/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/kpsewhich.c | 3 |
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\ |