diff options
Diffstat (limited to 'ntpdc/ntpdc-layout.c')
-rw-r--r-- | ntpdc/ntpdc-layout.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ntpdc/ntpdc-layout.c b/ntpdc/ntpdc-layout.c new file mode 100644 index 0000000..b05fbf3 --- /dev/null +++ b/ntpdc/ntpdc-layout.c @@ -0,0 +1,21 @@ +/* + * ntpdc-layout - print layout of NTP mode 7 request/response packets + */ + +#include <stdio.h> +#include <stddef.h> + +#include "ntpdc.h" +#include "ntp_stdlib.h" + +#if defined(IMPL_XNTPD_OLD) && IMPL_XNTPD != 3 +#error Unexpected IMPL_XNTPD +#endif + +int +main(void) +{ +#include "nl.c" + + return (EXIT_SUCCESS); +} |