mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:35:06 -05:00
ntp: add missing header guard
This commit is contained in:
@@ -24,6 +24,9 @@
|
|||||||
This is the header file for the Linux-specific NTP socket I/O bits.
|
This is the header file for the Linux-specific NTP socket I/O bits.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef GOT_NTP_IO_LINUX_H
|
||||||
|
#define GOT_NTP_IO_LINUX_H
|
||||||
|
|
||||||
extern void NIO_Linux_Initialise(void);
|
extern void NIO_Linux_Initialise(void);
|
||||||
|
|
||||||
extern void NIO_Linux_Finalise(void);
|
extern void NIO_Linux_Finalise(void);
|
||||||
@@ -34,3 +37,5 @@ extern int NIO_Linux_ProcessMessage(NTP_Remote_Address *remote_addr, NTP_Local_A
|
|||||||
NTP_Local_Timestamp *local_ts, struct msghdr *hdr, int length);
|
NTP_Local_Timestamp *local_ts, struct msghdr *hdr, int length);
|
||||||
|
|
||||||
extern int NIO_Linux_RequestTxTimestamp(struct msghdr *msg, int cmsglen, int sock_fd);
|
extern int NIO_Linux_RequestTxTimestamp(struct msghdr *msg, int cmsglen, int sock_fd);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user