Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Added prototypes declarations for lower part of root...
details: https://anonhg.NetBSD.org/src/rev/82309c43f8d6
branches: trunk
changeset: 515061:82309c43f8d6
user: manu <manu%NetBSD.org@localhost>
date: Sun Sep 16 07:14:15 2001 +0000
description:
Added prototypes declarations for lower part of root-only time-related
system calls. This is the the clockctl pseudosriver
diffstat:
sys/sys/time.h | 5 ++++-
sys/sys/timex.h | 10 +++++++++-
2 files changed, 13 insertions(+), 2 deletions(-)
diffs (41 lines):
diff -r 09e41b2ed37e -r 82309c43f8d6 sys/sys/time.h
--- a/sys/sys/time.h Sun Sep 16 06:56:29 2001 +0000
+++ b/sys/sys/time.h Sun Sep 16 07:14:15 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: time.h,v 1.31 2001/04/30 01:13:21 lukem Exp $ */
+/* $NetBSD: time.h,v 1.32 2001/09/16 07:14:15 manu Exp $ */
/*
* Copyright (c) 1982, 1986, 1993
@@ -165,6 +165,9 @@
int settime __P((struct timeval *));
int ratecheck __P((struct timeval *, const struct timeval *));
int ppsratecheck __P((struct timeval *, int *, int));
+int settimeofday1 __P((struct timeval *, struct timezone *, struct proc *));
+int adjtime1 __P((struct timeval *, struct timeval *, struct proc *));
+int clock_settime1 __P((clockid_t, struct timespec *));
#else /* !_KERNEL */
#ifndef _STANDALONE
diff -r 09e41b2ed37e -r 82309c43f8d6 sys/sys/timex.h
--- a/sys/sys/timex.h Sun Sep 16 06:56:29 2001 +0000
+++ b/sys/sys/timex.h Sun Sep 16 07:14:15 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: timex.h,v 1.2 1996/02/27 04:20:34 jonathan Exp $ */
+/* $NetBSD: timex.h,v 1.3 2001/09/16 07:14:15 manu Exp $ */
/******************************************************************************
* *
@@ -299,4 +299,12 @@
#endif /* not _KERNEL */
#endif /* __FreeBSD__ || __NetBSD__ */
+
+#ifdef __NetBSD__
+#ifdef _KERNEL
+__BEGIN_DECLS
+int ntp_settime1 __P((struct timex *, register_t *));
+__END_DECLS
+#endif /* _KERNEL */
+#endif __NetBSD__
#endif /* _SYS_TIMEX_H_ */
Home |
Main Index |
Thread Index |
Old Index