Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Put parens arund the negative numbers so 0 CTL_XX wi...
details: https://anonhg.NetBSD.org/src/rev/e78ab2f90c18
branches: trunk
changeset: 788970:e78ab2f90c18
user: matt <matt%NetBSD.org@localhost>
date: Thu Aug 01 01:16:34 2013 +0000
description:
Put parens arund the negative numbers so 0 CTL_XX will cause a syntax error.
diffstat:
sys/sys/sysctl.h | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (30 lines):
diff -r 9023c6223cd7 -r e78ab2f90c18 sys/sys/sysctl.h
--- a/sys/sys/sysctl.h Thu Aug 01 00:24:43 2013 +0000
+++ b/sys/sys/sysctl.h Thu Aug 01 01:16:34 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sysctl.h,v 1.207 2013/02/02 14:02:09 matt Exp $ */
+/* $NetBSD: sysctl.h,v 1.208 2013/08/01 01:16:34 matt Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -159,13 +159,13 @@
/*
* Meta-identifiers
*/
-#define CTL_EOL -1 /* end of createv/destroyv list */
-#define CTL_QUERY -2 /* enumerates children of a node */
-#define CTL_CREATE -3 /* node create request */
-#define CTL_CREATESYM -4 /* node create request with symbol */
-#define CTL_DESTROY -5 /* node destroy request */
-#define CTL_MMAP -6 /* mmap request */
-#define CTL_DESCRIBE -7 /* get node descriptions */
+#define CTL_EOL (-1) /* end of createv/destroyv list */
+#define CTL_QUERY (-2) /* enumerates children of a node */
+#define CTL_CREATE (-3) /* node create request */
+#define CTL_CREATESYM (-4) /* node create request with symbol */
+#define CTL_DESTROY (-5) /* node destroy request */
+#define CTL_MMAP (-6) /* mmap request */
+#define CTL_DESCRIBE (-7) /* get node descriptions */
/*
* Top-level identifiers
Home |
Main Index |
Thread Index |
Old Index