# HG changeset patch # User pchelko # Date 1400759210 -14400 # Node ID ba8a24b2576fb9826c24de6f834b2b1ba3582c66 # Parent bbff0ad63272351369d8bd606443645312024363 8043646: libosxapp.dylib fails to build on Mac OS 10.9 with clang Reviewed-by: anthony, serb diff -r bbff0ad63272 -r ba8a24b2576f 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;