diff src/share/vm/prims/jniCheck.hpp @ 9060:cc32ccaaf47f

8003310: Enable -Wunused-function when compiling with gcc Summary: Add the -Wunused-function flag and remove a number of unused functions. Reviewed-by: dholmes, coleenp, kvn
author mikael
date Thu, 04 Apr 2013 10:01:26 -0700
parents 8b46b0196eb0
children
line wrap: on
line diff
--- a/src/share/vm/prims/jniCheck.hpp	Wed Apr 03 16:43:09 2013 -0700
+++ b/src/share/vm/prims/jniCheck.hpp	Thu Apr 04 10:01:26 2013 -0700
@@ -33,7 +33,7 @@
   // within IN_VM macro), one to be called when in NATIVE state.
 
   // When in VM state:
-  static void ReportJNIFatalError(JavaThread* thr, const char *msg) {
+  static inline void ReportJNIFatalError(JavaThread* thr, const char *msg) {
     tty->print_cr("FATAL ERROR in native method: %s", msg);
     thr->print_stack();
     os::abort(true);