From 2189c7c75bacd2e5445e562270e11f4070d55626 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 17 Aug 2015 17:31:44 +0200 Subject: [PATCH] platform: return const argument from _nl_get_vtable() --- src/platform/nm-linux-platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/nm-linux-platform.c b/src/platform/nm-linux-platform.c index 897779fc8b..6114532bb7 100644 --- a/src/platform/nm-linux-platform.c +++ b/src/platform/nm-linux-platform.c @@ -146,7 +146,7 @@ _nl_f_nl_has_capability (int capability) return FALSE; } -static struct libnl_vtable * +static const struct libnl_vtable * _nl_get_vtable (void) { static struct libnl_vtable vtable;