]> granicus.if.org Git - php/commitdiff
export zend_on_timeout handler from ZE
authorAntony Dovgal <tony2001@php.net>
Tue, 22 Nov 2011 03:39:12 +0000 (03:39 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 22 Nov 2011 03:39:12 +0000 (03:39 +0000)
Zend/zend.h

index 5c092dbc6dc7fc523fa7e771f1534de77f740c45..06b0ad4d6e11ba833804e263ce337e8c7282ec38 100644 (file)
@@ -683,7 +683,7 @@ extern ZEND_API void (*zend_unblock_interruptions)(void);
 #endif
 extern ZEND_API void (*zend_ticks_function)(int ticks);
 extern ZEND_API void (*zend_error_cb)(int type, const char *error_filename, const uint error_lineno, const char *format, va_list args) ZEND_ATTRIBUTE_PTR_FORMAT(printf, 4, 0);
-extern void (*zend_on_timeout)(int seconds TSRMLS_DC);
+extern ZEND_API void (*zend_on_timeout)(int seconds TSRMLS_DC);
 extern ZEND_API int (*zend_stream_open_function)(const char *filename, zend_file_handle *handle TSRMLS_DC);
 extern int (*zend_vspprintf)(char **pbuf, size_t max_len, const char *format, va_list ap);
 extern ZEND_API char *(*zend_getenv)(char *name, size_t name_len TSRMLS_DC);