diff options
| -rw-r--r-- | libs/binder/trusty/include_mock/lib/tipc/tipc.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libs/binder/trusty/include_mock/lib/tipc/tipc.h b/libs/binder/trusty/include_mock/lib/tipc/tipc.h index f295be4980..ead9f9cdaf 100644 --- a/libs/binder/trusty/include_mock/lib/tipc/tipc.h +++ b/libs/binder/trusty/include_mock/lib/tipc/tipc.h @@ -15,7 +15,9 @@ */ #pragma once -__BEGIN_DECLS +#if defined(__cplusplus) +extern "C" { +#endif struct tipc_hset; @@ -26,4 +28,6 @@ int tipc_run_event_loop(struct tipc_hset*) { return 0; } -__END_DECLS +#if defined(__cplusplus) +} +#endif |