diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2014-12-02 09:01:21 +0000 |
---|---|---|
committer | <> | 2014-12-04 16:11:25 +0000 |
commit | bdab5265fcbf3f472545073a23f8999749a9f2b9 (patch) | |
tree | c6018dd03dea906f8f1fb5f105f05b71a7dc250a /ntpdc/ntpdc-layout.c | |
download | ntp-d4b7cd9723cce9561fa15f74b90b85a3a61b5ef8.tar.gz |
Imported from /home/lorry/working-area/delta_ntp/ntp-dev-4.2.7p482.tar.gz.ntp-dev-4.2.7p482
Diffstat (limited to 'ntpdc/ntpdc-layout.c')
-rw-r--r-- | ntpdc/ntpdc-layout.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/ntpdc/ntpdc-layout.c b/ntpdc/ntpdc-layout.c new file mode 100644 index 0000000..0171488 --- /dev/null +++ b/ntpdc/ntpdc-layout.c @@ -0,0 +1,22 @@ +/* + * ntpdc-layout - print layout of NTP mode 7 request/response packets + */ + +#include <config.h> +#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); +} |