X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=fhi_lib%2Flib%2Fapi%2Fxran_sync_api.h;h=824aac49cc84732a6d72696978961a7e4a97d658;hb=2de97529a4c5a1922214ba0e6f0fb84cacbd0bc7;hp=2e98311d9bd77b562f23b029d7ec81a2060b3f83;hpb=4745e5c88ba931c6d71cb6d8c681f76cf364eac5;p=o-du%2Fphy.git diff --git a/fhi_lib/lib/api/xran_sync_api.h b/fhi_lib/lib/api/xran_sync_api.h index 2e98311..824aac4 100644 --- a/fhi_lib/lib/api/xran_sync_api.h +++ b/fhi_lib/lib/api/xran_sync_api.h @@ -1,6 +1,6 @@ /****************************************************************************** * -* Copyright (c) 2019 Intel. +* Copyright (c) 2020 Intel. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -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_ */