changeset 14467:4984fad6c950

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 e6d50cd7310b
children bae272e8923c
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	Fri Mar 21 09:38:04 2014 +0100
+++ 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;