Subject: Re: "const int" in conf/param.c?
To: Simon Burge <simonb@netbsd.org>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-kern
Date: 04/24/1999 21:38:34
On Sun, 25 Apr 1999 14:25:22 +1000 
 Simon Burge <simonb@netbsd.org> wrote:

 > Question day!
 > 
 > Is the following valid in the kernel?

That works :-)

 > 
 > 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.

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>