Correct the signature of the legacy system offset measurement method.
The sysoff_measure() function gained an additional parameter some time ago, but the legacy method for older kernels without PTP_SYS_OFFSET was overlooked. This patch brings the legacy method up to date again. Signed-off-by: Richard Cochran <richardcochran@gmail.com>master
parent
e20d8228f9
commit
a920c13413
2
sysoff.c
2
sysoff.c
|
@ -168,7 +168,7 @@ int sysoff_probe(int fd, int n_samples)
|
||||||
|
|
||||||
#else /* !PTP_SYS_OFFSET */
|
#else /* !PTP_SYS_OFFSET */
|
||||||
|
|
||||||
int sysoff_measure(int fd, int n_samples,
|
int sysoff_measure(int fd, int method, int n_samples,
|
||||||
int64_t *result, uint64_t *ts, int64_t *delay)
|
int64_t *result, uint64_t *ts, int64_t *delay)
|
||||||
{
|
{
|
||||||
return SYSOFF_COMPILE_TIME_MISSING;
|
return SYSOFF_COMPILE_TIME_MISSING;
|
||||||
|
|
Loading…
Reference in New Issue