diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-03-13 13:25:03 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-03-13 13:25:03 +0000 |
commit | b51d4224e58a5fa0103b2f4268569fd80326299e (patch) | |
tree | 3edff4892434d4cf795185f2da2b7d11afd28ba3 /Build/source/texk/web2c/synctexdir/synctex_parser_utils.h | |
parent | d045cca6dcb0c1741ca3ed3fed18bc8cdf56c707 (diff) |
Avoid compiler warnings (redo changes from 2010-01-22)
git-svn-id: svn://tug.org/texlive/trunk@21708 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 | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Build/source/texk/web2c/synctexdir/synctex_parser_utils.h b/Build/source/texk/web2c/synctexdir/synctex_parser_utils.h index 91e33839329..6d36d738e93 100644 --- a/Build/source/texk/web2c/synctexdir/synctex_parser_utils.h +++ b/Build/source/texk/web2c/synctexdir/synctex_parser_utils.h @@ -92,7 +92,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. @@ -106,13 +106,10 @@ 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 unsigned int synctex_io_mode_t; -enum { - synctex_io_mode_read = 0 -}; typedef enum { synctex_io_append_mask = 1, |