[Groonga-mysql-commit] mroonga/mroonga at 4a3d6c7 [master] Make internal variable static

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Apr 9 22:32:19 JST 2014


Kouhei Sutou	2014-04-09 22:32:19 +0900 (Wed, 09 Apr 2014)

  New Revision: 4a3d6c77a99e722aaa3ab7fec3f2b7eecd4b035f
  https://github.com/mroonga/mroonga/commit/4a3d6c77a99e722aaa3ab7fec3f2b7eecd4b035f

  Message:
    Make internal variable static

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+2 -2)
===================================================================
--- ha_mroonga.cpp    2014-03-31 15:57:03 +0900 (43082ff)
+++ ha_mroonga.cpp    2014-04-09 22:32:19 +0900 (20d251a)
@@ -107,14 +107,14 @@
 extern mysql_mutex_t LOCK_open;
 #    endif
 #  endif
-mysql_mutex_t *mrn_LOCK_open;
+static mysql_mutex_t *mrn_LOCK_open;
 #  define mrn_open_mutex_lock() mysql_mutex_lock(mrn_LOCK_open)
 #  define mrn_open_mutex_unlock() mysql_mutex_unlock(mrn_LOCK_open)
 #else
 #  ifndef _WIN32
 extern pthread_mutex_t LOCK_open;
 #  endif
-pthread_mutex_t *mrn_LOCK_open;
+static pthread_mutex_t *mrn_LOCK_open;
 #  define mrn_open_mutex_lock()
 #  define mrn_open_mutex_unlock()
 #endif
-------------- next part --------------
HTML����������������������������...
Descargar 



More information about the Groonga-mysql-commit mailing list
Back to archive index