summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_ntptime.c
diff options
context:
space:
mode:
authormarks <marks@FreeBSD.org>2004-11-19 00:58:30 +0000
committermarks <marks@FreeBSD.org>2004-11-19 00:58:30 +0000
commit2edc978740698644f75b9bde4e104d9d0807bdca (patch)
tree54999eaec17a315a31312aad03c71668094d9281 /sys/kern/kern_ntptime.c
parenta420fe6ce195e159207ea2fd370e8e3a7a318297 (diff)
downloadFreeBSD-src-2edc978740698644f75b9bde4e104d9d0807bdca.zip
FreeBSD-src-2edc978740698644f75b9bde4e104d9d0807bdca.tar.gz
Place function comment above the right function.
Diffstat (limited to 'sys/kern/kern_ntptime.c')
-rw-r--r--sys/kern/kern_ntptime.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/kern/kern_ntptime.c b/sys/kern/kern_ntptime.c
index 0d8d54a..f999897 100644
--- a/sys/kern/kern_ntptime.c
+++ b/sys/kern/kern_ntptime.c
@@ -241,6 +241,13 @@ ntp_gettime1(struct ntptimeval *ntvp)
ntvp->time_state = TIME_ERROR;
}
+/*
+ * ntp_gettime() - NTP user application interface
+ *
+ * See the timex.h header file for synopsis and API description. Note
+ * that the TAI offset is returned in the ntvtimeval.tai structure
+ * member.
+ */
#ifndef _SYS_SYSPROTO_H_
struct ntp_gettime_args {
struct ntptimeval *ntvp;
@@ -257,13 +264,6 @@ ntp_gettime(struct thread *td, struct ntp_gettime_args *uap)
return (copyout(&ntv, uap->ntvp, sizeof(ntv)));
}
-/*
- * ntp_gettime() - NTP user application interface
- *
- * See the timex.h header file for synopsis and API description. Note
- * that the TAI offset is returned in the ntvtimeval.tai structure
- * member.
- */
static int
ntp_sysctl(SYSCTL_HANDLER_ARGS)
{
OpenPOWER on IntegriCloud