Just extern, not extern C on static_create_thread_frame and friend
Merge remote-tracking branch 'origin/master'