# HG changeset patch # User jprtadm # Date 1518531933 -3600 # Node ID 6c97e08fe2f105b2f164b024041a9d680bd0b882 # Parent 0bad0488e9fafdffeee4ee2c615763af57caa397 Solaris syntax fix. diff -r 0bad0488e9fa -r 6c97e08fe2f1 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();