Solaris warning in pymodule.c
adj_systime() not as expected on Solaris:
../../libntp/pymodule.c: In function 'ntpc_adj_systime':
../../libntp/pymodule.c:124:5: warning: passing argument 2 of 'adj_systime' from incompatible pointer type [enabled by default]
return Py_BuildValue("d", adj_systime(adjustment, adjtime) ? 1 : 0);
^
In file included from ../../include/ntp.h:26:0,
from ../../include/ntpd.h:11,
from ../../libntp/pymodule.c:12:
../../include/ntp_fp.h:175:13: note: expected 'int (*)(const struct timeval *, struct timeval *)' but argument is of type 'int (*)(struct timeval *, struct timeval *)'
extern bool adj_systime (double, int (*adjtime)(const struct timeval *, struct timeval *));
^