#4 Improve const correctness

open
nobody
None
5
2005-07-21
2005-07-21
Markus Elfring
No

Would you like to apply the advices from the
article "http://en.wikipedia.org/wiki/Const_correctness"
to your sources?
I suggest to add the key word "const" to the type
specifiers of parameters like the following.
- replacement (function "str_replace_tokens")

http://cvs.sourceforge.net/viewcvs.py/xpad/xpad/src/fio.
h?rev=1.7&view=markup

- pad_properties
(functions "xpad_pad_properties_get_.+")

http://cvs.sourceforge.net/viewcvs.py/xpad/xpad/src/xpa
d-pad-properties.h?rev=1.1&view=markup

Discussion