This is an automated email from the ASF dual-hosted git repository.
schultz pushed a commit to branch 1.3.x
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git
The following commit(s) were added to refs/heads/1.3.x by this push:
new 4c777765b Explicitly use (void) for these functions
4c777765b is described below
commit 4c777765b5419ac954fb1185c36e318f86e23f7e
Author: Christopher Schultz <[email protected]>
AuthorDate: Fri Feb 6 08:17:23 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 e2ba40852..79309cff6 100644
--- a/native/src/jnilib.c
+++ b/native/src/jnilib.c
@@ -490,7 +490,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) {
@@ -501,12 +501,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]