#3 Improve const-correctness

open
nobody
None
5
2007-03-05
2007-03-05
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://mpip.svn.sourceforge.net/viewvc/mpip/trunk/mpiP-API.h?revision=369&view=markup
filename (function "mpiP_open_executable")

- http://mpip.svn.sourceforge.net/viewvc/mpip/trunk/report.c?revision=383&view=markup
mpiP_Report_Formats (global "variable")

Discussion