platform: return const argument from _nl_get_vtable()

This commit is contained in:
Thomas Haller
2015-08-17 17:31:44 +02:00
parent 19ebe51e2e
commit 2189c7c75b

View File

@@ -146,7 +146,7 @@ _nl_f_nl_has_capability (int capability)
return FALSE; return FALSE;
} }
static struct libnl_vtable * static const struct libnl_vtable *
_nl_get_vtable (void) _nl_get_vtable (void)
{ {
static struct libnl_vtable vtable; static struct libnl_vtable vtable;