X-Git-Url: http://xvm.mit.edu/gitweb/invirt/third/libt4.git/blobdiff_plain/eb3d5c6416c0f0d1cad35e52af3231de7866fea8..26ade07ab0e62b98b452fbbd18edba0450035e35:/lock_client.h diff --git a/lock_client.h b/lock_client.h index 654cf4f..31bf905 100644 --- a/lock_client.h +++ b/lock_client.h @@ -70,7 +70,9 @@ class lock_client { #endif // C++ +#ifdef __cplusplus extern "C" { +#endif struct _t4_lock_client; typedef struct _t4_lock_client t4_lock_client; @@ -93,6 +95,8 @@ t4_status t4_lock_client_acquire(t4_lock_client *, t4_lockid_t); t4_status t4_lock_client_release(t4_lock_client *, t4_lockid_t); t4_status t4_lock_client_stat(t4_lock_client *, t4_lockid_t); +#ifdef __cplusplus } +#endif #endif