Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / native_client / src / shared / platform / nacl_exit.h
index d20b682..28e9adb 100644 (file)
@@ -8,17 +8,11 @@
 #define NATIVE_CLIENT_SRC_SHARED_PLATFORM_NACL_EXIT_H_ 1
 
 #include "native_client/src/include/nacl_base.h"
+#include "native_client/src/public/chrome_main.h"  /* for NaClExit() */
 
 EXTERN_C_BEGIN
 
 /*
- * NaClExit() is for doing a graceful exit, when no internal errors
- * have been detected, when the caller wants to return a well-defined
- * exit status.
- */
-void NaClExit(int code);
-
-/*
  * NaClAbort() is for doing a non-graceful exit, when an internal
  * error has been detected and we want to exit as quickly as possible
  * without running any shutdown code that might cause further