X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=o-du%2Fphy.git;a=blobdiff_plain;f=fhi_lib%2Flib%2Fapi%2Fxran_sync_api.h;h=3be0dece413c2847a43313d28b30052b592499e2;hp=2e98311d9bd77b562f23b029d7ec81a2060b3f83;hb=cef07f74965b1749dd909fc1322e211489fea2ea;hpb=bc60e3a69129edf1c21a01683f84a77483f6e3cc diff --git a/fhi_lib/lib/api/xran_sync_api.h b/fhi_lib/lib/api/xran_sync_api.h index 2e98311..3be0dec 100644 --- a/fhi_lib/lib/api/xran_sync_api.h +++ b/fhi_lib/lib/api/xran_sync_api.h @@ -16,7 +16,6 @@ * *******************************************************************************/ - /** * @brief This file provides interface to synchronization related APIs (PTP/1588) * for XRAN. @@ -30,6 +29,10 @@ #ifndef _XRAN_SYNC_API_H_ #define _XRAN_SYNC_API_H_ +#ifdef __cplusplus +extern "C" { +#endif + /** * @brief Function checks if machine is synchronized using PTP for Linux * software. @@ -38,4 +41,8 @@ */ int xran_is_synchronized(void); +#ifdef __cplusplus +} +#endif + #endif /* _XRAN_SYNC_API_H_ */