summaryrefslogtreecommitdiffstats
path: root/include/datatype.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2016-05-13 19:38:33 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2016-05-13 20:06:53 +0200
commitb4d882bbad9796dbc43374eefa5571e754071d3a (patch)
tree514bd1caa30eaa00c9e6df3def6f8d814047ce9b /include/datatype.h
parent42205fc9d1fc96f5398c44ec07c760f8b7660ac0 (diff)
include: constify nlexpr field in location structure
The location shouldn't ever alter the expression. And this fixes this compilation warning: netlink_delinearize.c: In function ‘netlink_parse_expr’: netlink_delinearize.c:1008:10: warning: assignment discards ‘const’ qualifier from pointer target type loc.nle = nle; ^ Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/datatype.h')
0 files changed, 0 insertions, 0 deletions