diff options
author | Max Kellermann <max@duempel.org> | 2008-08-29 09:38:08 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-29 09:38:08 +0200 |
commit | f42de62aa23dc238a767a6fcf0e92fd2c5f3a8f3 (patch) | |
tree | 9803723ce6923b2b12a80e0733b359b32cafd801 /bs/README | |
parent | 8811c0e05943edbcb3d7203ef4f61ec89423718a (diff) | |
download | mpd-f42de62aa23dc238a767a6fcf0e92fd2c5f3a8f3.tar.gz mpd-f42de62aa23dc238a767a6fcf0e92fd2c5f3a8f3.tar.xz mpd-f42de62aa23dc238a767a6fcf0e92fd2c5f3a8f3.zip |
added xfree() which takes a const pointer
Unfortunately, the C standard postulates that the argument to free()
must be non-const. This does not makes sense, and virtually prevents
every pointer which must be freed at some time to be non-const. Use
the deconst hack (sorry for that) to allow us to free constant
pointers.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions