mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 18:18:03 +02:00
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.
This commit is contained in:
parent
950a14128b
commit
b6b6baa773
5 changed files with 5 additions and 5 deletions
|
|
@ -522,9 +522,9 @@ libnm_core_lib_c_real = \
|
||||||
|
|
||||||
if WITH_JSON_VALIDATION
|
if WITH_JSON_VALIDATION
|
||||||
libnm_core_lib_h_priv += \
|
libnm_core_lib_h_priv += \
|
||||||
libnm-core/nm-jansson.h
|
libnm-core/nm-json.h
|
||||||
libnm_core_lib_c_real += \
|
libnm_core_lib_c_real += \
|
||||||
libnm-core/nm-jansson.c
|
libnm-core/nm-json.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
libnm_core_lib_c_mkenums = \
|
libnm_core_lib_c_mkenums = \
|
||||||
|
|
|
||||||
|
|
@ -146,7 +146,7 @@ cflags = [
|
||||||
]
|
]
|
||||||
|
|
||||||
if enable_json_validation
|
if enable_json_validation
|
||||||
libnm_core_sources += files('nm-jansson.c')
|
libnm_core_sources += files('nm-json.c')
|
||||||
deps += jansson_dep
|
deps += jansson_dep
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
#include "nm-default.h"
|
#include "nm-default.h"
|
||||||
|
|
||||||
#define NM_JAONSSON_C
|
#define NM_JAONSSON_C
|
||||||
#include "nm-jansson.h"
|
#include "nm-json.h"
|
||||||
|
|
||||||
void *_nm_jansson_json_object_iter_value;
|
void *_nm_jansson_json_object_iter_value;
|
||||||
void *_nm_jansson_json_object_key_to_iter;
|
void *_nm_jansson_json_object_key_to_iter;
|
||||||
|
|
@ -36,7 +36,7 @@
|
||||||
#include <linux/pkt_sched.h>
|
#include <linux/pkt_sched.h>
|
||||||
|
|
||||||
#if WITH_JSON_VALIDATION
|
#if WITH_JSON_VALIDATION
|
||||||
#include "nm-jansson.h"
|
#include "nm-json.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "nm-utils/nm-jansson.h"
|
#include "nm-utils/nm-jansson.h"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue