[geany/geany] 8f11c6: Fix some module-specific globals not declared static

Colomban Wendling git-noreply at xxxxx
Tue Sep 24 14:26:57 UTC 2013


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Tue, 24 Sep 2013 14:26:57 UTC
Commit:      8f11c62dc9004a15088abfbe3c607ef4e194323b
             https://github.com/geany/geany/commit/8f11c62dc9004a15088abfbe3c607ef4e194323b

Log Message:
-----------
Fix some module-specific globals not declared static

This prevents the symbol to be exported and possibly conflict with
another one.


Modified Paths:
--------------
    tagmanager/ctags/php.c

Modified: tagmanager/ctags/php.c
4 files changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -231,13 +231,13 @@
 static boolean InPhp = FALSE; /* whether we are between <? ?> */
 
 /* current statement details */
-struct {
+static struct {
 	accessType access;
 	implType impl;
 } CurrentStatement;
 
 /* Current namespace */
-vString *CurrentNamesapce;
+static vString *CurrentNamesapce;
 
 
 static void buildPhpKeywordHash (void)



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list