summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2003-12-23 20:02:28 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2003-12-23 20:02:28 +0000
commita182437e162d0b848fe8389fa28e3c62f2b1ae37 (patch)
treeeeb1ea37a90c5ac2d8fd376635b11bed4d279c2b
parentd9bb64fc6bc9e79f3ca359f295e0108facd28c42 (diff)
add cpu_setperf and cpu_cpuspeed externs to make life easier.
-rw-r--r--sys/sys/sysctl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h
index 60f2e546033..728d3b26405 100644
--- a/sys/sys/sysctl.h
+++ b/sys/sys/sysctl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysctl.h,v 1.66 2003/12/18 23:46:20 tedu Exp $ */
+/* $OpenBSD: sysctl.h,v 1.67 2003/12/23 20:02:27 tedu Exp $ */
/* $NetBSD: sysctl.h,v 1.16 1996/04/09 20:55:36 cgd Exp $ */
/*
@@ -548,6 +548,9 @@ int vfs_sysctl(int *, u_int, void *, size_t *, void *, size_t,
int sysctl_sysvipc(int *, u_int, void *, size_t *);
int sysctl_wdog(int *, u_int, void *, size_t *, void *, size_t);
+extern int (*cpu_cpuspeed)(void *, size_t *, void *, size_t);
+extern int (*cpu_setperf)(void *, size_t *, void *, size_t);
+
void sysctl_init(void);
#else /* !_KERNEL */