diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-11-10 10:27:09 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-11-10 10:27:09 +0000 |
commit | 5e8e9500102800e68c9e7fcac9e85c1668b71a36 (patch) | |
tree | 81d79ac70ffbb127e8063f18c8f55475ca169ee1 /Build/source/texk/web2c/luatexdir/utils | |
parent | e6a9c88ada2f11dd61e4c4e39dff84944bed5787 (diff) |
towards TL2010: texk/web2c
git-svn-id: svn://tug.org/texlive/trunk@15964 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/utils')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/utils/synctex.c | 6 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/utils/utils.c | 4 |
2 files changed, 4 insertions, 6 deletions
diff --git a/Build/source/texk/web2c/luatexdir/utils/synctex.c b/Build/source/texk/web2c/luatexdir/utils/synctex.c index 081e02ef597..cd454ba139b 100644 --- a/Build/source/texk/web2c/luatexdir/utils/synctex.c +++ b/Build/source/texk/web2c/luatexdir/utils/synctex.c @@ -324,9 +324,9 @@ void synctex_abort(void) static inline int synctex_record_preamble(void); static inline int synctex_record_input(integer tag, char *name); -static char *synctex_suffix = ".synctex"; -static char *synctex_suffix_gz = ".gz"; -static char *synctex_suffix_busy = "(busy)"; +static const char *synctex_suffix = ".synctex"; +static const char *synctex_suffix_gz = ".gz"; +static const char *synctex_suffix_busy = "(busy)"; /* synctex_dot_open ensures that the foo.synctex file is open. * In case of problem, it definitely disables synchronization. diff --git a/Build/source/texk/web2c/luatexdir/utils/utils.c b/Build/source/texk/web2c/luatexdir/utils/utils.c index 0ca7441c699..2a397b50a10 100644 --- a/Build/source/texk/web2c/luatexdir/utils/utils.c +++ b/Build/source/texk/web2c/luatexdir/utils/utils.c @@ -33,6 +33,7 @@ #include <kpathsea/c-proto.h> #include <kpathsea/c-stat.h> #include <kpathsea/c-fopen.h> +#include <kpathsea/version.h> #include <string.h> #include <time.h> #include <float.h> /* for DBL_EPSILON */ @@ -62,9 +63,6 @@ str_number last_tex_string; static char print_buf[PRINTF_BUF_SIZE]; static char *jobname_cstr = NULL; static char *job_id_string = NULL; -extern string ptexbanner; /* from web2c/lib/texmfmp.c */ -extern string versionstring; /* from web2c/lib/version.c */ -extern KPSEDLL string kpathsea_version_string; /* from kpathsea/version.c */ size_t last_ptr_index; /* for use with alloc_array */ |