summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-09-16 00:50:02 +0000
committerache <ache@FreeBSD.org>1994-09-16 00:50:02 +0000
commit23acba77ae0f23ccfba6835c898583d03d5d2279 (patch)
tree481d503b9023870ecb062228cacbe780aa5f661f
parent082fbb1bea5dc2dc72db5f557f1f73f2ca68b029 (diff)
downloadFreeBSD-src-23acba77ae0f23ccfba6835c898583d03d5d2279.zip
FreeBSD-src-23acba77ae0f23ccfba6835c898583d03d5d2279.tar.gz
KERN_ADJKERNTZ moved to MACHDEP section
-rw-r--r--sys/sys/sysctl.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h
index 41b0f05..c25abbe 100644
--- a/sys/sys/sysctl.h
+++ b/sys/sys/sysctl.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)sysctl.h 8.1 (Berkeley) 6/2/93
- * $Id: sysctl.h,v 1.6 1994/09/09 23:13:03 wollman Exp $
+ * $Id: sysctl.h,v 1.7 1994/09/14 22:49:29 ache Exp $
*/
#ifndef _SYS_SYSCTL_H_
@@ -131,8 +131,7 @@ struct ctlname {
#define KERN_DOMAINNAME 22 /* string: YP domain name */
#define KERN_UPDATEINTERVAL 23 /* int: update process sleep time */
#define KERN_OSRELDATE 24 /* int: OS release date */
-#define KERN_ADJKERNTZ 25 /* int: timezone offset for resettodr() */
-#define KERN_MAXID 26 /* number of valid kern ids */
+#define KERN_MAXID 25 /* number of valid kern ids */
#define CTL_KERN_NAMES { \
{ 0, 0 }, \
@@ -160,7 +159,6 @@ struct ctlname {
{ "domainname", CTLTYPE_STRING }, \
{ "update", CTLTYPE_INT }, \
{ "osreldate", CTLTYPE_INT }, \
- { "adjkerntz", CTLTYPE_INT }, \
}
/*
@@ -244,6 +242,17 @@ struct kinfo_proc {
}
/*
+ * CTL_MACHDEP definitions
+ */
+#define CPU_ADJKERNTZ 1 /* int: timezone offset for resettodr() */
+#define CPU_MAXID 2 /* number of valid machdep ids */
+
+#define CTL_MACHDEP_NAMES { \
+ { 0, 0 }, \
+ { "adjkerntz", CTLTYPE_INT }, \
+}
+
+/*
* CTL_USER definitions
*/
#define USER_CS_PATH 1 /* string: _CS_PATH */
OpenPOWER on IntegriCloud