mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 00:35:06 -05:00
Fix compiler warnings in PPS configure test
This commit is contained in:
5
configure
vendored
5
configure
vendored
@@ -4,6 +4,7 @@
|
|||||||
# chronyd/chronyc - Programs for keeping computer clocks accurate.
|
# chronyd/chronyc - Programs for keeping computer clocks accurate.
|
||||||
#
|
#
|
||||||
# Copyright (C) Richard P. Curnow 1997-2003
|
# Copyright (C) Richard P. Curnow 1997-2003
|
||||||
|
# Copyright (C) Miroslav Lichvar 2009
|
||||||
#
|
#
|
||||||
# =======================================================================
|
# =======================================================================
|
||||||
|
|
||||||
@@ -350,11 +351,11 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $feat_pps = "1" ] && \
|
if [ $feat_pps = "1" ] && \
|
||||||
test_code 'PPS API' 'timepps.h' '' '' '
|
test_code 'PPS API' 'string.h timepps.h' '' '' '
|
||||||
pps_handle_t h;
|
pps_handle_t h;
|
||||||
pps_info_t i;
|
pps_info_t i;
|
||||||
struct timespec ts;
|
struct timespec ts;
|
||||||
return time_pps_fetch(&h, PPS_TSFMT_TSPEC, &i, &ts);'
|
return time_pps_fetch(h, PPS_TSFMT_TSPEC, &i, &ts);'
|
||||||
then
|
then
|
||||||
SYSDEFS="${SYSDEFS} -DHAVE_PPSAPI"
|
SYSDEFS="${SYSDEFS} -DHAVE_PPSAPI"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user