Josh Gao | 5317f2d | 2017-06-30 14:35:00 -0700 | [diff] [blame] | 1 | #if defined(__cplusplus) |
2 | extern "C" { | ||||
3 | #endif | ||||
4 | |||||
Josh Gao | bf8a285 | 2016-05-27 11:59:09 -0700 | [diff] [blame] | 5 | #include <archdep.h> |
6 | #include <foodep.h> | ||||
7 | |||||
8 | #if defined(__i386__) | ||||
9 | x86_t foo(foo_t); | ||||
10 | #elif defined(__arm__) | ||||
11 | arm_t foo(foo_t); | ||||
12 | #endif | ||||
Josh Gao | 5317f2d | 2017-06-30 14:35:00 -0700 | [diff] [blame] | 13 | |
14 | #if defined(__cplusplus) | ||||
15 | } | ||||
16 | #endif |