diff options
author | avg <avg@FreeBSD.org> | 2010-06-15 07:06:54 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2010-06-15 07:06:54 +0000 |
commit | b3f689911f5a6573e4b49b1c7f7d3d8587d4aae5 (patch) | |
tree | d1532ffb12065cf4ae143bd65a809056ad58d178 /secure/usr.bin/ssh-agent | |
parent | f630934da70d4d34df892850a43110f60f7b2926 (diff) | |
download | FreeBSD-src-b3f689911f5a6573e4b49b1c7f7d3d8587d4aae5.zip FreeBSD-src-b3f689911f5a6573e4b49b1c7f7d3d8587d4aae5.tar.gz |
sound/pcm: use non-const string as a value with SYSCTL_STRING
Although the sysctls are marked with CTLFLAG_RD and the values will stay
immutable, current sysctl implementation stores value pointer in
void* type, which means that const qualifier is discarded anyway
and some newer compilers complaint about that.
We can't use de-const trick in sysctl implementation, because in that
case we could miss an opposite situation where a const value is used
with CTLFLAG_RW sysctl.
Complaint from: gcc 4.4, clang
MFC after: 2 weeks
Diffstat (limited to 'secure/usr.bin/ssh-agent')
0 files changed, 0 insertions, 0 deletions