Module Name: src
Committed By: riz
Date: Tue Jun 12 17:06:58 UTC 2012
Modified Files:
src/sys/sys [netbsd-6]: sysctl.h
Log Message:
Pull up following revision(s) (requested by dsl in ticket #305):
sys/sys/sysctl.h: patch
Define CTLTYPE_LONG in preparation for more pullups.
To generate a diff of this commit:
cvs rdiff -u -r1.199 -r1.199.2.1 src/sys/sys/sysctl.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/sysctl.h
diff -u src/sys/sys/sysctl.h:1.199 src/sys/sys/sysctl.h:1.199.2.1
--- src/sys/sys/sysctl.h:1.199 Fri Jan 27 19:48:41 2012
+++ src/sys/sys/sysctl.h Tue Jun 12 17:06:38 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: sysctl.h,v 1.199 2012/01/27 19:48:41 para Exp $ */
+/* $NetBSD: sysctl.h,v 1.199.2.1 2012/06/12 17:06:38 riz Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -94,6 +94,12 @@ struct ctlname {
#define CTLTYPE_STRUCT 5 /* name describes a structure */
#define CTLTYPE_BOOL 6 /* name describes a bool */
+#ifdef _LP64
+#define CTLTYPE_LONG CTLTYPE_QUAD
+#else
+#define CTLTYPE_LONG CTLTYPE_INT
+#endif
+
/*
* Flags that apply to each node, governing access and other features
*/