test/hotspot/jtreg/vmTestbase/nsk/stress/jni/libjnistress002.cpp
changeset 51774 79dc492c00ab
parent 51551 e409244ce72e
child 52952 837f1b8442be
--- a/test/hotspot/jtreg/vmTestbase/nsk/stress/jni/libjnistress002.cpp	Mon Sep 17 15:25:42 2018 -0700
+++ b/test/hotspot/jtreg/vmTestbase/nsk/stress/jni/libjnistress002.cpp	Mon Sep 17 19:36:09 2018 -0700
@@ -25,9 +25,7 @@
 #include <stdio.h>
 #include "jnihelper.h"
 
-#ifdef __cplusplus
 extern "C" {
-#endif
 
 jobject NewObjectWrapper(JNIEnv *env, jclass clazz, jmethodID methodID, ...) {
   va_list ap;
@@ -105,6 +103,4 @@
   return obj;
 }
 
-#ifdef __cplusplus
 }
-#endif