mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 16:55:07 -05:00
ntp: move PHC-specific code to sys_linux
This will allow sharing of the code with the PHC refclock driver.
This commit is contained in:
@@ -41,4 +41,9 @@ extern void SYS_Linux_SetScheduler(int SchedPriority);
|
||||
|
||||
extern int SYS_Linux_CheckKernelVersion(int req_major, int req_minor);
|
||||
|
||||
extern int SYS_Linux_OpenPHC(const char *path, int phc_index);
|
||||
|
||||
extern int SYS_Linux_GetPHCSample(int fd, double precision, int *reading_mode,
|
||||
struct timespec *phc_ts, struct timespec *sys_ts, double *err);
|
||||
|
||||
#endif /* GOT_SYS_LINUX_H */
|
||||
|
||||
Reference in New Issue
Block a user