diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1999-09-15 01:58:44 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1999-09-15 01:58:44 +0000 |
| commit | e46b89dc933c04891ae494b912f26290304d7266 (patch) | |
| tree | d8e073fb60d7524dbc18d30521c6f2e3119c72a9 /usr.sbin/xntpd | |
| parent | 62998af2a63cf12bafdecbd6eed4c281dd9b6190 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/xntpd')
| -rw-r--r-- | usr.sbin/xntpd/authstuff/md5driver.c | 4 | ||||
| -rw-r--r-- | usr.sbin/xntpd/ntpdate/ntpdate.c | 4 | ||||
| -rw-r--r-- | usr.sbin/xntpd/ntpq/ntpq.c | 4 | ||||
| -rw-r--r-- | usr.sbin/xntpd/ntptrace/ntptrace.c | 4 | ||||
| -rw-r--r-- | usr.sbin/xntpd/xntpd/ntpd.c | 4 |
5 files changed, 15 insertions, 5 deletions
diff --git a/usr.sbin/xntpd/authstuff/md5driver.c b/usr.sbin/xntpd/authstuff/md5driver.c index 0d7e13254f14..aef597caee44 100644 --- a/usr.sbin/xntpd/authstuff/md5driver.c +++ b/usr.sbin/xntpd/authstuff/md5driver.c @@ -22,6 +22,8 @@ *********************************************************************** */ +/* $FreeBSD$ */ + #include <stdio.h> #include <sys/types.h> #include <time.h> @@ -176,7 +178,7 @@ MDTestSuite () ("12345678901234567890123456789012345678901234567890123456789012345678901234567890"); } -void +int main (argc, argv) int argc; char *argv[]; diff --git a/usr.sbin/xntpd/ntpdate/ntpdate.c b/usr.sbin/xntpd/ntpdate/ntpdate.c index 608832858ff7..1d2c7d5019af 100644 --- a/usr.sbin/xntpd/ntpdate/ntpdate.c +++ b/usr.sbin/xntpd/ntpdate/ntpdate.c @@ -1,5 +1,7 @@ /* * ntpdate - set the time of day by polling one or more NTP servers + * + * $FreeBSD$ */ #include <stdio.h> #include <signal.h> @@ -156,7 +158,7 @@ static void printserver P((struct server *, FILE *)); * Main program. Initialize us and loop waiting for I/O and/or * timer expiries. */ -void +int main(argc, argv) int argc; char *argv[]; diff --git a/usr.sbin/xntpd/ntpq/ntpq.c b/usr.sbin/xntpd/ntpq/ntpq.c index 2c5eacf32705..186408aa1303 100644 --- a/usr.sbin/xntpd/ntpq/ntpq.c +++ b/usr.sbin/xntpd/ntpq/ntpq.c @@ -1,5 +1,7 @@ /* * ntpq - query an NTP server using mode 6 commands + * + * $FreeBSD$ */ #include <stdio.h> #include <ctype.h> @@ -512,7 +514,7 @@ int debug; /* * main - parse arguments and handle options */ -void +int main(argc, argv) int argc; char *argv[]; diff --git a/usr.sbin/xntpd/ntptrace/ntptrace.c b/usr.sbin/xntpd/ntptrace/ntptrace.c index 206c73861709..0c54fdff2b43 100644 --- a/usr.sbin/xntpd/ntptrace/ntptrace.c +++ b/usr.sbin/xntpd/ntptrace/ntptrace.c @@ -7,6 +7,8 @@ * Inspired by a script written by Glenn Trewitt * * Large portions stolen from ntpdate.c + * + * $FreeBSD$ */ #include <stdio.h> #include <signal.h> @@ -103,7 +105,7 @@ static void printrefid P((FILE *, struct server *)); * Main program. Initialize us and loop waiting for I/O and/or * timer expiries. */ -void +int main(argc, argv) int argc; char *argv[]; diff --git a/usr.sbin/xntpd/xntpd/ntpd.c b/usr.sbin/xntpd/xntpd/ntpd.c index ae06f56582bb..bd3600442d01 100644 --- a/usr.sbin/xntpd/xntpd/ntpd.c +++ b/usr.sbin/xntpd/xntpd/ntpd.c @@ -1,5 +1,7 @@ /* * ntpd.c - main program for the fixed point NTP daemon + * + * $FreeBSD$ */ #include <stdio.h> #include <errno.h> @@ -95,7 +97,7 @@ static RETSIGTYPE lessdebug P((int)); * Main program. Initialize us, disconnect us from the tty if necessary, * and loop waiting for I/O and/or timer expiries. */ -void +int main(argc, argv) int argc; char *argv[]; |
