diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2010-11-16 09:52:32 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-16 09:52:32 -0800 |
commit | 3654654f7aa79a37dde130afb7409c55b11807e7 (patch) | |
tree | 4e65c0d211a6cc748509b7f3b2da7c45b05d3266 /net/TUNABLE | |
parent | 9d82ca98f71fd686ef2f3017c5e3e6a4871b6e46 (diff) | |
download | linux-3654654f7aa79a37dde130afb7409c55b11807e7.tar.bz2 |
netlink: let nlmsg and nla functions take pointer-to-const args
The changed functions do not modify the NL messages and/or attributes
at all. They should use const (similar to strchr), so that callers
which have a const nlmsg/nlattr around can make use of them without
casting.
While at it, constify a data array.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/TUNABLE')
0 files changed, 0 insertions, 0 deletions