NetworkManager/clients
Thomas Haller 92efe8a53c clients: use NM_MAKE_STRV() instead of VALUES_STATIC()
VALUES_STATIC() was a macro to initialize the values_static pointer with
a (static) strv array.

For one, it lacked a "const" in "(const char *[])", which means
the data is not put in a read only section by the linker. That should
be fixed.

Anyway, we already have a macro for creating such constant strv arrays:
NM_MAKE_STRV().

I think it is good to the concept of "initializing values_static" a
name (VALUES_STATIC()). But it also hides (for better or worse), that
this is a strv array. Let's use NM_MAKE_STRV() instead. By looking at
the code, it's still clear that this initializes the "values_static"
array, but it also makes it clear that this is a plain strv array.
2018-12-01 15:16:48 +01:00
..
cli cli: avoid crash on device disconnect 2018-11-30 14:15:27 +01:00
common clients: use NM_MAKE_STRV() instead of VALUES_STATIC() 2018-12-01 15:16:48 +01:00
tests cli: deduplicate active connections sort 2018-11-21 11:46:22 +01:00
tui docs: misc. typos 2018-09-15 09:08:03 +02:00
meson.build build: create "config-extra.h" header instead of passing directory variables via CFLAGS 2018-07-17 17:46:39 +02:00
nm-online.c nm-online: sort options in man page and program help 2018-11-05 09:32:20 +01:00