#10 Improve const-correctness

open
nobody
None
5
2012-08-22
2007-03-13
Markus Elfring
No

Would you like to apply the advices from the article "http://en.wikipedia.org/wiki/Const-correctness" to more places in your sources?
I suggest to add the key word "const" to the type specifiers for parameters like the following.
http://downloads.sourceforge.net/pmt/b2p152s.zip
- fn (functions "read_file", "write_file")
- wrn_mkdirfail, err_... (global "variables")

Discussion