#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