Fix cxxreact build error with -Wmissing-prototypes

Differential Revision: D4022143

fbshipit-source-id: 6afbd29a030ff51915cfb552f74737e9146b2ffd
This commit is contained in:
Scott Wolchok 2016-10-14 13:24:02 -07:00 committed by Facebook Github Bot
parent ceb9ce36ae
commit 3f472e0bfa

View File

@ -17,11 +17,11 @@ using namespace facebook::react;
#ifdef ANDROID
#include <android/looper.h>
void prepare() {
static void prepare() {
ALooper_prepare(0);
}
#else
void prepare() {
static void prepare() {
}
#endif