summaryrefslogtreecommitdiffstats
path: root/lib/msg.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/msg.c
parent98ffedec040226169d66af210f8b580a41e4d201 (diff)
downloadlibnl-cf5577d280b59411ff77da727812465a4a01f4d7.zip
libnl-cf5577d280b59411ff77da727812465a4a01f4d7.tar.gz
libnl-cf5577d280b59411ff77da727812465a4a01f4d7.tar.bz2
constify struct trans_tbl
Diffstat (limited to 'lib/msg.c')
-rw-r--r--lib/msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/msg.c b/lib/msg.c
index 615decf..f6d1ee4 100644
--- a/lib/msg.c
+++ b/lib/msg.c
@@ -744,7 +744,7 @@ struct ucred *nlmsg_get_creds(struct nl_msg *msg)
* @{
*/
-static struct trans_tbl nl_msgtypes[] = {
+static const struct trans_tbl nl_msgtypes[] = {
__ADD(NLMSG_NOOP,NOOP)
__ADD(NLMSG_ERROR,ERROR)
__ADD(NLMSG_DONE,DONE)