changeset 10120:06f6160721da

8043646: libosxapp.dylib fails to build on Mac OS 10.9 with clang Reviewed-by: anthony, serb
author pchelko
date Thu, 22 May 2014 15:46:50 +0400
parents 823387e2bf42
children 6d828581eaee
files src/macosx/native/sun/osxapp/ThreadUtilities.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/macosx/native/sun/osxapp/ThreadUtilities.m	Wed May 21 11:12:18 2014 -0700
+++ b/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;