Module Name:    src
Committed By:   matt
Date:           Thu Aug  1 01:16:34 UTC 2013

Modified Files:
        src/sys/sys: sysctl.h

Log Message:
Put parens arund the negative numbers so 0 CTL_XX will cause a syntax error.


To generate a diff of this commit:
cvs rdiff -u -r1.207 -r1.208 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.207 src/sys/sys/sysctl.h:1.208
--- src/sys/sys/sysctl.h:1.207	Sat Feb  2 14:02:09 2013
+++ src/sys/sys/sysctl.h	Thu Aug  1 01:16:34 2013
@@ -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 @@ struct ctlname {
 /*
  * 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

Reply via email to