projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix printf with threaded parser; replace SUCCESS/FAILURE with bool
[m6w6/ext-psi]
/
src
/
data.c
diff --git
a/src/data.c
b/src/data.c
index 6ce20a76eb08dcd4a144a361c2a6225399e94cfd..2898ff1e332ee8732dfcc26bf3bdba08eafbd21d 100644
(file)
--- a/
src/data.c
+++ b/
src/data.c
@@
-40,7
+40,7
@@
#if PSI_THREADED_PARSER
# include <pthread.h>
#if PSI_THREADED_PARSER
# include <pthread.h>
-pthread_mutex_t psi_string_mutex = PTHREAD_MUTEX_INITIALIZER;
+
static
pthread_mutex_t psi_string_mutex = PTHREAD_MUTEX_INITIALIZER;
zend_string *psi_string_init_interned(const char *buf, size_t len, int p)
{
zend_string *psi_string_init_interned(const char *buf, size_t len, int p)
{