diff --git a/artemis-native/src/main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.c b/artemis-native/src/main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.c index e42ee43b73..3a25cee0f3 100644 --- a/artemis-native/src/main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.c +++ b/artemis-native/src/main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.c @@ -231,7 +231,7 @@ jint JNI_OnLoad(JavaVM* vm, void* reserved) { } } -inline void closeDumbHandlers() { +static inline void closeDumbHandlers() { if (dumbWriteHandler != 0) { #ifdef DEBUG fprintf (stdout, "Closing and removing dump handler %s\n", dumbPath);