Skip to content

Commit 82f0b93

Browse files
committed
- CS
1 parent 58c6974 commit 82f0b93

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

phpdbg.c

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,8 @@ int phpdbg_open_sockets(char *address, int port[2], int (*listen)[2], int (*sock
856856
return SUCCESS;
857857
} /* }}} */
858858

859-
void phpdbg_signal_handler(int sig, siginfo_t *info, void *context) {
859+
void phpdbg_signal_handler(int sig, siginfo_t *info, void *context) /* {{{ */
860+
{
860861
int is_handled = FAILURE;
861862
TSRMLS_FETCH();
862863

@@ -874,10 +875,11 @@ void phpdbg_signal_handler(int sig, siginfo_t *info, void *context) {
874875
break;
875876
}
876877

877-
}
878+
} /* }}} */
878879
#endif
879880

880-
static inline zend_mm_heap *phpdbg_mm_get_heap() {
881+
static inline zend_mm_heap *phpdbg_mm_get_heap() /* {{{ */
882+
{
881883
zend_mm_heap *mm_heap;
882884

883885
TSRMLS_FETCH();
@@ -886,22 +888,22 @@ static inline zend_mm_heap *phpdbg_mm_get_heap() {
886888
zend_mm_set_heap(mm_heap TSRMLS_CC);
887889

888890
return mm_heap;
889-
}
891+
} /* }}} */
890892

891-
void *phpdbg_malloc_wrapper(size_t size)
893+
void *phpdbg_malloc_wrapper(size_t size) /* {{{ */
892894
{
893895
return zend_mm_alloc(phpdbg_mm_get_heap(), size);
894-
}
896+
} /* }}} */
895897

896-
void phpdbg_free_wrapper(void *p)
898+
void phpdbg_free_wrapper(void *p) /* {{{ */
897899
{
898900
zend_mm_free(phpdbg_mm_get_heap(), p);
899-
}
901+
} /* }}} */
900902

901-
void *phpdbg_realloc_wrapper(void *ptr, size_t size)
903+
void *phpdbg_realloc_wrapper(void *ptr, size_t size) /* {{{ */
902904
{
903905
return zend_mm_realloc(phpdbg_mm_get_heap(), ptr, size);
904-
}
906+
} /* }}} */
905907

906908
int main(int argc, char **argv) /* {{{ */
907909
{

0 commit comments

Comments
 (0)