summaryrefslogtreecommitdiff
path: root/Zend/zend.c
diff options
context:
space:
mode:
authorStig S. Bakken <stig@php.net>1999-12-01 22:55:20 +0000
committerStig S. Bakken <stig@php.net>1999-12-01 22:55:20 +0000
commit93536507f686a9dfb041b4583cd37cf4c6c4c37c (patch)
tree4cd67a600c3cdccde6258386460768ccca28f8ee /Zend/zend.c
parent2ddc4fe4f54ac9ab15c3cf5cf75c0ab684666c91 (diff)
downloadphp-git-93536507f686a9dfb041b4583cd37cf4c6c4c37c.tar.gz
Fix warnings surfacing in maintainer-mode.
Diffstat (limited to 'Zend/zend.c')
-rw-r--r--Zend/zend.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/zend.c b/Zend/zend.c
index dc1b024d19..34889f76f9 100644
--- a/Zend/zend.c
+++ b/Zend/zend.c
@@ -45,8 +45,8 @@ ZEND_API int (*zend_write)(const char *str, uint str_length);
ZEND_API void (*zend_error)(int type, const char *format, ...);
ZEND_API void (*zend_message_dispatcher)(long message, void *data);
ZEND_API FILE *(*zend_fopen)(const char *filename, char **opened_path);
-ZEND_API void (*zend_block_interruptions)();
-ZEND_API void (*zend_unblock_interruptions)();
+ZEND_API void (*zend_block_interruptions)(void);
+ZEND_API void (*zend_unblock_interruptions)(void);
ZEND_API int (*zend_get_ini_entry)(char *name, uint name_length, zval *contents);
#ifdef ZTS
@@ -217,7 +217,7 @@ static FILE *zend_fopen_wrapper(const char *filename, char **opened_path)
}
-static void register_standard_class()
+static void register_standard_class(void)
{
zend_standard_class_def.type = ZEND_INTERNAL_CLASS;
zend_standard_class_def.name_length = sizeof("stdClass") - 1;