diff options
author | Thomas Graf <tgraf@suug.ch> | 2010-11-17 15:09:08 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2010-11-17 15:09:08 (GMT) |
commit | cf5577d280b59411ff77da727812465a4a01f4d7 (patch) | |
tree | de94591e7ed2c73a306a33224c0da76125de9973 /lib/route/route_obj.c | |
parent | 98ffedec040226169d66af210f8b580a41e4d201 (diff) | |
download | libnl-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.c | 2 |
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) |