diff options
author | Thomas Graf <tgraf@suug.ch> | 2010-11-17 16:09:08 +0100 |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2010-11-17 16:09:08 +0100 |
commit | cf5577d280b59411ff77da727812465a4a01f4d7 (patch) | |
tree | de94591e7ed2c73a306a33224c0da76125de9973 /lib/genl/family.c | |
parent | 98ffedec040226169d66af210f8b580a41e4d201 (diff) | |
download | libnl-cf5577d280b59411ff77da727812465a4a01f4d7.tar.gz |
constify struct trans_tbl
Diffstat (limited to 'lib/genl/family.c')
-rw-r--r-- | lib/genl/family.c | 2 |
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) |