Navigation Menu

Skip to content

Commit

Permalink
Make internal variable static
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 9, 2014
1 parent 3334f5d commit 4a3d6c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ha_mroonga.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 4a3d6c7

Please sign in to comment.