OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // Provide atexit, not part of Android libc or linker. | 5 // Provide atexit, not part of Android libc or linker. |
6 | 6 |
7 extern "C" int atexit(void (*function)(void)) { | 7 extern "C" int atexit(void (*function)(void)) { |
8 // Return error code. | 8 // Return error code. |
9 return 1; | 9 return 1; |
10 } | 10 } |
11 | 11 |
12 // Provide __dso_handle, not part of Android libc or linker. | 12 // Provide __dso_handle, not part of Android libc or linker. |
13 | 13 |
14 __attribute__((weak)) void *__dso_handle; | 14 __attribute__((weak)) void *__dso_handle; |
15 | 15 |
OLD | NEW |