DragonFly BSD
DragonFly commits List (threaded) for 2004-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/vm vm_extern.h vm_glue.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 15 Aug 2004 12:10:14 -0700 (PDT)

:  Modified files:
:    sys/vm               vm_extern.h vm_glue.c 
:  Log:
:  Make the addr parameter to kernacc and useracc const.
:  
:  Wondered-about: corecode
:  
:  Revision  Changes    Path
:  1.14      +2 -2      src/sys/vm/vm_extern.h
:  1.27      +2 -2      src/sys/vm/vm_glue.c
:
:http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_extern.h.diff?r1=1.13&r2=1.14&f=u
:http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_glue.c.diff?r1=1.26&r2=1.27&f=u

    I think you should probably use 'const caddr_t' there instead of
    'c_caddr_t'.  I did something similar (typedef'ing const) in FreeBSD a long time
    ago and it turned out not to be so hot an idea.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]