summaryrefslogtreecommitdiff
path: root/lib/addr.c
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2010-11-17 16:09:08 +0100
committerThomas Graf <tgraf@suug.ch>2010-11-17 16:09:08 +0100
commitcf5577d280b59411ff77da727812465a4a01f4d7 (patch)
treede94591e7ed2c73a306a33224c0da76125de9973 /lib/addr.c
parent98ffedec040226169d66af210f8b580a41e4d201 (diff)
downloadlibnl-cf5577d280b59411ff77da727812465a4a01f4d7.tar.gz
constify struct trans_tbl
Diffstat (limited to 'lib/addr.c')
-rw-r--r--lib/addr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/addr.c b/lib/addr.c
index 822821d0..5f2402b3 100644
--- a/lib/addr.c
+++ b/lib/addr.c
@@ -881,7 +881,7 @@ prefix:
* @{
*/
-static struct trans_tbl afs[] = {
+static const struct trans_tbl afs[] = {
__ADD(AF_UNSPEC,unspec)
__ADD(AF_UNIX,unix)
__ADD(AF_LOCAL,local)