diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-01-22 18:00:20 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-01-22 18:00:20 +0000 |
commit | c4707bd5bdd25bf9fc751a66917a009b4ff15d02 (patch) | |
tree | ad77b5a27dbc989317b346df269f0c13e377cf9b /Build/source/texk/web2c/synctexdir/synctex_parser_utils.h | |
parent | 68267fad21f7506f4613a9f7308e3a7c46d8f8e6 (diff) |
texk/web2c/synctex: compiler warnings
git-svn-id: svn://tug.org/texlive/trunk@16800 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/synctexdir/synctex_parser_utils.h')
-rw-r--r-- | Build/source/texk/web2c/synctexdir/synctex_parser_utils.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Build/source/texk/web2c/synctexdir/synctex_parser_utils.h b/Build/source/texk/web2c/synctexdir/synctex_parser_utils.h index 5999f72d6e3..e28ff58ade0 100644 --- a/Build/source/texk/web2c/synctexdir/synctex_parser_utils.h +++ b/Build/source/texk/web2c/synctexdir/synctex_parser_utils.h @@ -86,7 +86,7 @@ synctex_bool_t _synctex_is_equivalent_file_name(const char *lhs, const char *rhs synctex_bool_t _synctex_path_is_absolute(const char * name); /* Description forthcoming...*/ -char * _synctex_last_path_component(const char * name); +const char * _synctex_last_path_component(const char * name); /* If the core of the last path component of src is not already enclosed with double quotes ('"') * and contains a space character (' '), then a new buffer is created, the src is copied and quotes are added. @@ -100,8 +100,8 @@ char * _synctex_last_path_component(const char * name); int _synctex_copy_with_quoting_last_path_component(const char * src, char ** dest_ref, size_t size); /* These are the possible extensions of the synctex file */ -static const char * synctex_suffix = ".synctex"; -static const char * synctex_suffix_gz = ".gz"; +extern const char * synctex_suffix; +extern const char * synctex_suffix_gz; typedef enum { synctex_io_mode_read = 0, @@ -113,8 +113,6 @@ typedef enum { synctex_compress_mode_gz = 1 } synctex_compress_mode_t; -static const char * synctex_io_modes[synctex_io_mode_append+2] = {"r","rb","a","ab"}; - int _synctex_get_name(const char * output, const char * build_directory, char ** synctex_name_ref, synctex_compress_mode_t * compress_mode_ref); |