Permalink
Browse files

Expose zend_signal_handler_unblock() to DSO extensions to allow usage…

… of HANDLE_UNBLOCK_INTERRUPTIONS macro
  • Loading branch information...
1 parent 955cc54 commit 0d4930577a81e7b3debdd065d2a85ffdfcfc9fb0 Dmitry Stogov committed Dec 2, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 Zend/zend_signal.c
  2. +1 −1 Zend/zend_signal.h
View
@@ -131,7 +131,7 @@ void zend_signal_handler_defer(int signo, siginfo_t *siginfo, void *context)
/* {{{ zend_signal_handler_unblock
* Handle deferred signal from HANDLE_UNBLOCK_ALARMS */
-void zend_signal_handler_unblock(TSRMLS_D)
+ZEND_API void zend_signal_handler_unblock(TSRMLS_D)
{
zend_signal_queue_t *queue;
zend_signal_t zend_signal;
View
@@ -79,7 +79,7 @@ extern ZEND_API zend_signal_globals_t zend_signal_globals;
# define SIGNAL_END_CRITICAL() zend_sigprocmask(SIG_SETMASK, &oldmask, NULL);
void zend_signal_handler_defer(int signo, siginfo_t *siginfo, void *context);
-void zend_signal_handler_unblock();
+ZEND_API void zend_signal_handler_unblock();
void zend_signal_activate(TSRMLS_D);
void zend_signal_deactivate(TSRMLS_D);
void zend_signal_startup();

0 comments on commit 0d49305

Please sign in to comment.