summaryrefslogtreecommitdiff
path: root/ext/pcntl
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-05-29 23:39:41 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-05-29 23:39:41 +0000
commit493633d16f0510a811b275e433cc374053ad6466 (patch)
tree99c83f2a1b5698d247eb188db8ee4e361fccadf2 /ext/pcntl
parent57ceaebe8a2d4a0818e5c497a3e0cb6d89bb34d2 (diff)
downloadphp-git-493633d16f0510a811b275e433cc374053ad6466.tar.gz
Fixed compiler warnings.
Diffstat (limited to 'ext/pcntl')
-rwxr-xr-xext/pcntl/pcntl.c3
-rw-r--r--ext/pcntl/php_pcntl.h4
2 files changed, 3 insertions, 4 deletions
diff --git a/ext/pcntl/pcntl.c b/ext/pcntl/pcntl.c
index 17a87169ab..46630d625c 100755
--- a/ext/pcntl/pcntl.c
+++ b/ext/pcntl/pcntl.c
@@ -76,6 +76,9 @@ zend_module_entry pcntl_module_entry = {
#ifdef COMPILE_DL_PCNTL
ZEND_GET_MODULE(pcntl)
#endif
+
+static void pcntl_signal_handler(int);
+static void pcntl_tick_handler();
void php_register_signal_constants(INIT_FUNC_ARGS)
{
diff --git a/ext/pcntl/php_pcntl.h b/ext/pcntl/php_pcntl.h
index ccca57813f..8600c0d800 100644
--- a/ext/pcntl/php_pcntl.h
+++ b/ext/pcntl/php_pcntl.h
@@ -53,10 +53,6 @@ PHP_FUNCTION(pcntl_exec);
PHP_FUNCTION(pcntl_getpriority);
PHP_FUNCTION(pcntl_setpriority);
-static void pcntl_signal_handler(int);
-static void pcntl_tick_handler();
-
-
ZEND_BEGIN_MODULE_GLOBALS(pcntl)
HashTable php_signal_table;
zend_llist php_signal_queue;