Subject: "const int" in conf/param.c?
To: None <tech-kern@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: tech-kern
Date: 04/25/1999 14:25:22
Question day!
Is the following valid in the kernel?
Index: conf/param.c
===================================================================
RCS file: /cvsroot/src/sys/conf/param.c,v
retrieving revision 1.27
diff -u -r1.27 param.c
--- param.c 1999/04/25 02:56:30 1.27
+++ param.c 1999/04/25 04:23:15
@@ -191,5 +191,5 @@
/*
* Actual network mbuf sizes (read-only), for netstat.
*/
-int msize = MSIZE;
-int mclbytes = MCLBYTES;
+const int msize = MSIZE;
+const int mclbytes = MCLBYTES;
Simon.