New Style question: const vs. non-const

Stephen Williams (steve@icarus.icarus.com)
Thu, 25 Sep 1997 09:37:18 +0800


This brings up another question.

There are several places where functions take struct foo* parameters
that could just as well be ``const struct foo*''. register_chrdev for
example. I can't imagine no allowing struct X_operations variables be
constant.

If I were to submit patches adding const in various places, ... ?

-- 
Steve Williams
steve@icarus.com
steve@picturel.com

"The woods are lovely, dark and deep. But I have promises to keep, And lines to code before I sleep, And lines to code before I sleep."