diff options
author | Michal Nazarewicz <mina86@mina86.com> | 2009-07-19 08:18:08 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-07-19 08:18:08 +0200 |
commit | 03e43356ce886eb359c0aac1a24aac56fbb0c59a (patch) | |
tree | c715adf2fee413ab1dbe9c1b4616e4d9d7da6717 /src/cmdline.h | |
parent | d718a8b59d1f48abcff7f5626a237c1998fc83d5 (diff) | |
download | mpd-03e43356ce886eb359c0aac1a24aac56fbb0c59a.tar.gz mpd-03e43356ce886eb359c0aac1a24aac56fbb0c59a.tar.xz mpd-03e43356ce886eb359c0aac1a24aac56fbb0c59a.zip |
conf: replaced gcc "const" attribute with "pure"
The functions were not "const" (they examined values pointed
by arguments passed to them, quoting gcc's doc: "Note that
a function that has pointer arguments and examines the data
pointed to must _not_ be declared 'const'.") but rather
"pure" and still not all of them.
Note also, that even some of the functions declared "pure"
are not pure, however, due to reasons stated in source code
the attribute has been kept.
Diffstat (limited to 'src/cmdline.h')
0 files changed, 0 insertions, 0 deletions