Revision: 6859
          http://skim-app.svn.sourceforge.net/skim-app/?rev=6859&view=rev
Author:   hofman
Date:     2010-09-30 23:25:11 +0000 (Thu, 30 Sep 2010)

Log Message:
-----------
forward declare function and rename local variable to avoid compiler warnings

Modified Paths:
--------------
    trunk/vendorsrc/jeromelaurens/synctex-parser/synctex_parser.m
    trunk/vendorsrc/jeromelaurens/synctex-parser/synctex_parser_utils.m

Modified: trunk/vendorsrc/jeromelaurens/synctex-parser/synctex_parser.m
===================================================================
--- trunk/vendorsrc/jeromelaurens/synctex-parser/synctex_parser.m       
2010-09-30 23:16:06 UTC (rev 6858)
+++ trunk/vendorsrc/jeromelaurens/synctex-parser/synctex_parser.m       
2010-09-30 23:25:11 UTC (rev 6859)
@@ -2483,6 +2483,8 @@
        goto next_sheet;
 }
 
+int _synctex_open(const char * output, const char * build_directory, char ** 
synctex_name_ref, gzFile * file_ref, synctex_bool_t add_quotes, 
synctex_io_mode_t * io_modeRef);
+
 /*  Where the synctex scanner is created. */
 synctex_scanner_t synctex_scanner_new_with_output_file(const char * output, 
const char * build_directory, int parse) {
        gzFile file = NULL;

Modified: trunk/vendorsrc/jeromelaurens/synctex-parser/synctex_parser_utils.m
===================================================================
--- trunk/vendorsrc/jeromelaurens/synctex-parser/synctex_parser_utils.m 
2010-09-30 23:16:06 UTC (rev 6858)
+++ trunk/vendorsrc/jeromelaurens/synctex-parser/synctex_parser_utils.m 
2010-09-30 23:25:11 UTC (rev 6859)
@@ -322,7 +322,7 @@
                        char * build_quoted = NULL;
                        char * build_quoted_gz = NULL;
                        struct stat buf;
-                       time_t time = 0;
+                       time_t t = 0;
                        /*  Create corename: let temp point to the dot before 
the path extension of basename;
                         *  We start form the \0 terminating character and scan 
the string upward until we find a dot.
                         *  The first dot is not accepted. */
@@ -418,8 +418,8 @@
                                        free(FILENAME);\
                                        FILENAME = NULL;\
                                } else { \
-                                       if(buf.st_mtime>time) { \
-                                               time=buf.st_mtime; \
+                                       if(buf.st_mtime>t) { \
+                                               t=buf.st_mtime; \
                                                synctex_name = FILENAME; \
                                                compress_mode = COMPRESS_MODE; \
                                        } \


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to