summaryrefslogtreecommitdiff
path: root/ext/sockets/sockets_arginfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sockets/sockets_arginfo.h')
-rw-r--r--ext/sockets/sockets_arginfo.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/sockets/sockets_arginfo.h b/ext/sockets/sockets_arginfo.h
index 6985fc1f8a..2395fe0013 100644
--- a/ext/sockets/sockets_arginfo.h
+++ b/ext/sockets/sockets_arginfo.h
@@ -322,7 +322,7 @@ static const zend_function_entry class_AddressInfo_methods[] = {
ZEND_FE_END
};
-zend_class_entry *register_class_Socket()
+static zend_class_entry *register_class_Socket(void)
{
zend_class_entry ce, *class_entry;
@@ -333,7 +333,7 @@ zend_class_entry *register_class_Socket()
return class_entry;
}
-zend_class_entry *register_class_AddressInfo()
+static zend_class_entry *register_class_AddressInfo(void)
{
zend_class_entry ce, *class_entry;
@@ -343,4 +343,3 @@ zend_class_entry *register_class_AddressInfo()
return class_entry;
}
-