diff options
author | Anatol Belski <ab@php.net> | 2014-12-18 10:09:02 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-12-18 10:09:02 +0100 |
commit | 4b943c9c0dd4114adc78416c5241f11ad5c98a80 (patch) | |
tree | c9628d91eae3f580f9ebd73d2372e4c9089b2e00 /ext/opcache/zend_shared_alloc.h | |
parent | 79354ba6d0d6a1a4596f9ac66ee9bc3a34ed972b (diff) | |
parent | dec8eb431adee340fb8dfb9ff33ed29d3279c35f (diff) | |
download | php-git-POST_NATIVE_TLS_MERGE.tar.gz |
Merge remote-tracking branch 'origin/native-tls'POST_NATIVE_TLS_MERGE
Diffstat (limited to 'ext/opcache/zend_shared_alloc.h')
-rw-r--r-- | ext/opcache/zend_shared_alloc.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/opcache/zend_shared_alloc.h b/ext/opcache/zend_shared_alloc.h index ec7cc14d07..1476073f71 100644 --- a/ext/opcache/zend_shared_alloc.h +++ b/ext/opcache/zend_shared_alloc.h @@ -124,7 +124,7 @@ void zend_shared_alloc_shutdown(void); void *zend_shared_alloc(size_t size); /* copy into shared memory */ -void *_zend_shared_memdup(void *p, size_t size, zend_bool free_source TSRMLS_DC); +void *_zend_shared_memdup(void *p, size_t size, zend_bool free_source); int zend_shared_memdup_size(void *p, size_t size); typedef union _align_test { @@ -143,9 +143,9 @@ typedef union _align_test { ((size + PLATFORM_ALIGNMENT - 1) & ~(PLATFORM_ALIGNMENT - 1)) /* exclusive locking */ -void zend_shared_alloc_lock(TSRMLS_D); -void zend_shared_alloc_unlock(TSRMLS_D); /* returns the allocated size during lock..unlock */ -void zend_shared_alloc_safe_unlock(TSRMLS_D); +void zend_shared_alloc_lock(void); +void zend_shared_alloc_unlock(void); /* returns the allocated size during lock..unlock */ +void zend_shared_alloc_safe_unlock(void); /* old/new mapping functions */ void zend_shared_alloc_clear_xlat_table(void); @@ -158,7 +158,7 @@ void zend_shared_alloc_restore_state(void); const char *zend_accel_get_shared_model(void); /* memory write protection */ -void zend_accel_shared_protect(int mode TSRMLS_DC); +void zend_accel_shared_protect(int mode); #ifdef USE_MMAP extern zend_shared_memory_handlers zend_alloc_mmap_handlers; |