/contrib/ntp/ntpdc/ntpdc-layout.c

https://bitbucket.org/freebsd/freebsd-head/ · C · 21 lines · 13 code · 5 blank · 3 comment · 2 complexity · 81b24de59f73e0622f06317961a86666 MD5 · raw file

  1. /*
  2. * ntpdc-layout - print layout of NTP mode 7 request/response packets
  3. */
  4. #include <stdio.h>
  5. #include <stddef.h>
  6. #include "ntpdc.h"
  7. #include "ntp_stdlib.h"
  8. #if defined(IMPL_XNTPD_OLD) && IMPL_XNTPD != 3
  9. #error Unexpected IMPL_XNTPD
  10. #endif
  11. int
  12. main(void)
  13. {
  14. #include "nl.c"
  15. return (EXIT_SUCCESS);
  16. }