Portable build framework for OpenNTPD
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
433 B

  1. /*
  2. * This file is in the public domain.
  3. *
  4. * OS X does not appear to provide a mechanism to adjust the time frequency, or
  5. * at least not one that is easy to discover. Always fail here until a suitable
  6. * implementation is found.
  7. */
  8. #include <sys/time.h>
  9. #include <sys/types.h>
  10. #include <errno.h>
  11. int
  12. adjfreq(const int64_t *freq, int64_t *oldfreq)
  13. {
  14. errno = ENOSYS;
  15. return -1;
  16. }
  17. void
  18. update_time_sync_status(int synced)
  19. {
  20. }