Commit graph

3 commits

Author SHA1 Message Date
Thomas Haller
ec630dc256 libnm: cleanup include in "libnm-core/nm-json.c"
We already define _GNU_SOURCE in "config.h", depending
on configure checks.

Also, we always should first include "config.h" (which means
to first include "nm-default.h").

Also, we don't need the entire <link.h>, <dlfcn.h> suffices.

(cherry picked from commit 84576ce861)
2018-01-25 18:26:34 +01:00
Thomas Haller
0aa9273d33 libnm: fix spelling for NM_JAONSSON_C define
(cherry picked from commit 2888778480)
2018-01-25 18:23:07 +01:00
Thomas Haller
bbcb9ebefc libnm: rename "libnm-core/nm-jansson.h" to "libnm-core/nm-json.h"
We already have "shared/nm-utils/nm-jansson.h". Avoid reusing the same file name.

(cherry picked from commit b6b6baa773)
2018-01-25 18:23:01 +01:00
Renamed from libnm-core/nm-jansson.c (Browse further)