diff -r 720fd6544b03 -r 79dc492c00ab test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/agent_tools.cpp --- a/test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/agent_tools.cpp Mon Sep 17 15:25:42 2018 -0700 +++ b/test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/agent_tools.cpp Mon Sep 17 19:36:09 2018 -0700 @@ -28,9 +28,7 @@ #include "jni_tools.h" #include "jvmti_tools.h" -#ifdef __cplusplus extern "C" { -#endif /* ============================================================================= */ @@ -810,6 +808,4 @@ /* ============================================================================= */ -#ifdef __cplusplus } -#endif