summaryrefslogtreecommitdiffstats
path: root/lib/genl/family.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/genl/family.c
parent98ffedec040226169d66af210f8b580a41e4d201 (diff)
downloadlibnl-cf5577d280b59411ff77da727812465a4a01f4d7.zip
libnl-cf5577d280b59411ff77da727812465a4a01f4d7.tar.gz
libnl-cf5577d280b59411ff77da727812465a4a01f4d7.tar.bz2
constify struct trans_tbl
Diffstat (limited to 'lib/genl/family.c')
-rw-r--r--lib/genl/family.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/genl/family.c b/lib/genl/family.c
index 687f4b1..ebeebcb 100644
--- a/lib/genl/family.c
+++ b/lib/genl/family.c
@@ -95,7 +95,7 @@ static void family_dump_line(struct nl_object *obj, struct nl_dump_params *p)
family->gf_id, family->gf_name, family->gf_version);
}
-static struct trans_tbl ops_flags[] = {
+static const struct trans_tbl ops_flags[] = {
__ADD(GENL_ADMIN_PERM, admin-perm)
__ADD(GENL_CMD_CAP_DO, has-doit)
__ADD(GENL_CMD_CAP_DUMP, has-dump)