Solaris syntax fix. ihse-remove-mapfiles-branch
authorjprtadm
Tue, 13 Feb 2018 15:25:33 +0100
branchihse-remove-mapfiles-branch
changeset 56117 6c97e08fe2f1
parent 56116 0bad0488e9fa
child 56118 edf8a95b46e5
Solaris syntax fix.
src/jdk.hotspot.agent/solaris/native/libsaproc/saproc.cpp
--- a/src/jdk.hotspot.agent/solaris/native/libsaproc/saproc.cpp	Tue Feb 13 15:23:08 2018 +0100
+++ b/src/jdk.hotspot.agent/solaris/native/libsaproc/saproc.cpp	Tue Feb 13 15:25:33 2018 +0100
@@ -222,7 +222,7 @@
 // implement as a pathmap style facility for the SA.  If libproc
 // starts using other interfaces then this might have to extended to
 // cover other calls.
-JNIEXPORT extern "C" int 
+extern "C" JNIEXPORT int 
 libsaproc_open(const char * name, int oflag, ...) {
   if (oflag == O_RDONLY) {
     init_alt_root();