summaryrefslogtreecommitdiffstats
path: root/lib/route/route_obj.c
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2010-11-17 15:09:08 (GMT)
committerThomas Graf <tgraf@suug.ch>2010-11-17 15:09:08 (GMT)
commitcf5577d280b59411ff77da727812465a4a01f4d7 (patch)
treede94591e7ed2c73a306a33224c0da76125de9973 /lib/route/route_obj.c
parent98ffedec040226169d66af210f8b580a41e4d201 (diff)
downloadlibnl-cf5577d280b59411ff77da727812465a4a01f4d7.zip
libnl-cf5577d280b59411ff77da727812465a4a01f4d7.tar.gz
libnl-cf5577d280b59411ff77da727812465a4a01f4d7.tar.bz2
constify struct trans_tbl
Diffstat (limited to 'lib/route/route_obj.c')
-rw-r--r--lib/route/route_obj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/route/route_obj.c b/lib/route/route_obj.c
index c3d7de5..2cbe2ae 100644
--- a/lib/route/route_obj.c
+++ b/lib/route/route_obj.c
@@ -390,7 +390,7 @@ nh_mismatch:
#undef ROUTE_DIFF
}
-static struct trans_tbl route_attrs[] = {
+static const struct trans_tbl route_attrs[] = {
__ADD(ROUTE_ATTR_FAMILY, family)
__ADD(ROUTE_ATTR_TOS, tos)
__ADD(ROUTE_ATTR_TABLE, table)