This is an automated email from the ASF dual-hosted git repository.
schultz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git
The following commit(s) were added to refs/heads/main by this push:
new 49bacb3cb Explicitly use (void) for these functions
49bacb3cb is described below
commit 49bacb3cbac82d554f51c3654ca30420d3f0852f
Author: Christopher Schultz <[email protected]>
AuthorDate: Fri Feb 6 08:21:28 2026 -0500
Explicitly use (void) for these functions
---
native/src/jnilib.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/native/src/jnilib.c b/native/src/jnilib.c
index 28666187c..8e7844b1c 100644
--- a/native/src/jnilib.c
+++ b/native/src/jnilib.c
@@ -452,7 +452,7 @@ TCN_IMPLEMENT_CALL(jint, Library, size)(TCN_STDARGS, jint
what)
return 0;
}
-apr_pool_t *tcn_get_global_pool()
+apr_pool_t *tcn_get_global_pool(void)
{
if (!tcn_global_pool) {
if (apr_pool_create(&tcn_global_pool, NULL) != APR_SUCCESS) {
@@ -463,12 +463,12 @@ apr_pool_t *tcn_get_global_pool()
return tcn_global_pool;
}
-jclass tcn_get_string_class()
+jclass tcn_get_string_class(void)
{
return jString_class;
}
-JavaVM * tcn_get_java_vm()
+JavaVM * tcn_get_java_vm(void)
{
return tcn_global_vm;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]