OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "build/build_config.h" | |
6 | |
7 #include "native_client/src/include/portability.h" | 5 #include "native_client/src/include/portability.h" |
8 | 6 |
9 #if NACL_OSX | 7 #if NACL_OSX |
10 #include <crt_externs.h> | 8 #include <crt_externs.h> |
11 #endif | 9 #endif |
12 | 10 |
13 EXTERN_C_BEGIN | 11 EXTERN_C_BEGIN |
14 #include "native_client/src/shared/platform/nacl_sync.h" | 12 #include "native_client/src/shared/platform/nacl_sync.h" |
15 #include "native_client/src/shared/platform/nacl_sync_checked.h" | 13 #include "native_client/src/shared/platform/nacl_sync_checked.h" |
16 #include "native_client/src/trusted/service_runtime/nacl_globals.h" | 14 #include "native_client/src/trusted/service_runtime/nacl_globals.h" |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 NaClAppDtor(&state); | 199 NaClAppDtor(&state); |
202 | 200 |
203 done_file_dtor: | 201 done_file_dtor: |
204 fflush(stdout); | 202 fflush(stdout); |
205 | 203 |
206 NaClAllModulesFini(); | 204 NaClAllModulesFini(); |
207 | 205 |
208 return ret_code; | 206 return ret_code; |
209 } | 207 } |
210 | 208 |
OLD | NEW |