summaryrefslogtreecommitdiff
path: root/ext/sqlite3
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2021-02-15 22:14:36 +0100
committerMáté Kocsis <kocsismate@woohoolabs.com>2021-02-16 13:09:56 +0100
commitbf0f6aaf18895c979dcf61ecb26bdd58a238a69b (patch)
tree830e0168c398c5ffc685e0cd39ccc2274244019c /ext/sqlite3
parent1f04f162a6f9db6cc3019bb617062aa5e0d2101f (diff)
downloadphp-git-bf0f6aaf18895c979dcf61ecb26bdd58a238a69b.tar.gz
Improve class entry generation
Related to GH-6701
Diffstat (limited to 'ext/sqlite3')
-rw-r--r--ext/sqlite3/sqlite3_arginfo.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/ext/sqlite3/sqlite3_arginfo.h b/ext/sqlite3/sqlite3_arginfo.h
index 480f18a860..1588aa5048 100644
--- a/ext/sqlite3/sqlite3_arginfo.h
+++ b/ext/sqlite3/sqlite3_arginfo.h
@@ -255,7 +255,7 @@ static const zend_function_entry class_SQLite3Result_methods[] = {
ZEND_FE_END
};
-zend_class_entry *register_class_SQLite3()
+static zend_class_entry *register_class_SQLite3(void)
{
zend_class_entry ce, *class_entry;
@@ -265,7 +265,7 @@ zend_class_entry *register_class_SQLite3()
return class_entry;
}
-zend_class_entry *register_class_SQLite3Stmt()
+static zend_class_entry *register_class_SQLite3Stmt(void)
{
zend_class_entry ce, *class_entry;
@@ -275,7 +275,7 @@ zend_class_entry *register_class_SQLite3Stmt()
return class_entry;
}
-zend_class_entry *register_class_SQLite3Result()
+static zend_class_entry *register_class_SQLite3Result(void)
{
zend_class_entry ce, *class_entry;
@@ -284,4 +284,3 @@ zend_class_entry *register_class_SQLite3Result()
return class_entry;
}
-