8250612: jvmciCompilerToVM.cpp declares jio_printf with "void" return type, should be "int"

Reviewed-by: thartmann, kvn
This commit is contained in:
Aleksey Shipilev 2020-07-29 09:48:08 +02:00
parent a72a8984a9
commit 3349e10b7f

View file

@ -1573,7 +1573,7 @@ C2V_END
// 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;