summaryrefslogtreecommitdiffstats
path: root/src/callback.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-10-22 20:47:33 +0200
committerJan Engelhardt <jengelh@medozas.de>2010-10-22 22:25:04 +0200
commit5c3b332f2996a8d536f05247ae69e305b4e0f29f (patch)
treec8cf55e60a982fdaddf2ec7ea2e120991b3b0843 /src/callback.c
parent3e74eeac96b011f3929fccd63d7fec20e2759123 (diff)
src: add const qualifiers
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'src/callback.c')
-rw-r--r--src/callback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/callback.c b/src/callback.c
index e1599ff..f5a6112 100644
--- a/src/callback.c
+++ b/src/callback.c
@@ -37,7 +37,7 @@ static int mnl_cb_stop(const struct nlmsghdr *nlh, void *data)
return MNL_CB_STOP;
}
-static mnl_cb_t default_cb_array[NLMSG_MIN_TYPE] = {
+static const mnl_cb_t default_cb_array[NLMSG_MIN_TYPE] = {
[NLMSG_NOOP] = mnl_cb_noop,
[NLMSG_ERROR] = mnl_cb_error,
[NLMSG_DONE] = mnl_cb_stop,