changeset 60374:f361b26f1a1c

8250612: jvmciCompilerToVM.cpp declares jio_printf with "void" return type, should be "int" Reviewed-by: thartmann, kvn
author shade
date Wed, 29 Jul 2020 09:48:08 +0200
parents 3f45d3ae36b6
children 0a73d6f3aab4
files src/hotspot/share/jvmci/jvmciCompilerToVM.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/jvmci/jvmciCompilerToVM.cpp	Fri Jul 24 15:33:38 2020 +0300
+++ b/src/hotspot/share/jvmci/jvmciCompilerToVM.cpp	Wed Jul 29 09:48:08 2020 +0200
@@ -1573,7 +1573,7 @@
 
 // Creates a scope where the current thread is attached and detached
 // from HotSpot if it wasn't already attached when entering the scope.
-extern "C" void jio_printf(const char *fmt, ...);
+extern "C" int jio_printf(const char *fmt, ...);
 class AttachDetach : public StackObj {
  public:
   bool _attached;