Code Review
/
o-du
/
phy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Front Haul Interface Library update to third seed code contribution
[o-du/phy.git]
/
fhi_lib
/
lib
/
api
/
xran_sync_api.h
diff --git
a/fhi_lib/lib/api/xran_sync_api.h
b/fhi_lib/lib/api/xran_sync_api.h
index
2e98311
..
3be0dec
100644
(file)
--- 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.
/**
* @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_
#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.
/**
* @brief Function checks if machine is synchronized using PTP for Linux
* software.
@@
-38,4
+41,8
@@
*/
int xran_is_synchronized(void);
*/
int xran_is_synchronized(void);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _XRAN_SYNC_API_H_ */
#endif /* _XRAN_SYNC_API_H_ */