8043646: libosxapp.dylib fails to build on Mac OS 10.9 with clang
authorpchelko
Thu, 22 May 2014 15:46:50 +0400
changeset 25099 ba8a24b2576f
parent 25098 bbff0ad63272
child 25100 d527cc827d7d
8043646: libosxapp.dylib fails to build on Mac OS 10.9 with clang Reviewed-by: anthony, serb
jdk/src/macosx/native/sun/osxapp/ThreadUtilities.m
--- a/jdk/src/macosx/native/sun/osxapp/ThreadUtilities.m	Wed May 21 11:12:18 2014 -0700
+++ b/jdk/src/macosx/native/sun/osxapp/ThreadUtilities.m	Thu May 22 15:46:50 2014 +0400
@@ -36,7 +36,7 @@
 static jobject appkitThreadGroup = NULL;
 static BOOL awtEmbedded = NO;
 
-inline void attachCurrentThread(void** env) {
+static inline void attachCurrentThread(void** env) {
     if ([NSThread isMainThread]) {
         JavaVMAttachArgs args;
         args.version = JNI_VERSION_1_4;