build: move "shared/nm-{glib-aux,log-null,log-core}" to "src/libnm-{glib-aux,log-null,log-core}"
This commit is contained in:
12
src/libnm-log-null/meson.build
Normal file
12
src/libnm-log-null/meson.build
Normal file
@@ -0,0 +1,12 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
libnm_log_null = static_library(
|
||||
'nm-log-null',
|
||||
sources: 'nm-logging-null.c',
|
||||
include_directories: [
|
||||
shared_inc,
|
||||
src_inc,
|
||||
top_inc,
|
||||
],
|
||||
dependencies: glib_nm_default_dep,
|
||||
)
|
36
src/libnm-log-null/nm-logging-null.c
Normal file
36
src/libnm-log-null/nm-logging-null.c
Normal file
@@ -0,0 +1,36 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
/*
|
||||
* Copyright (C) 2018 Red Hat, Inc.
|
||||
*/
|
||||
|
||||
#include "libnm-glib-aux/nm-default-glib-i18n-lib.h"
|
||||
|
||||
#include "libnm-glib-aux/nm-logging-fwd.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
gboolean
|
||||
_nm_log_enabled_impl(gboolean mt_require_locking, NMLogLevel level, NMLogDomain domain)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
void
|
||||
_nm_log_impl(const char *file,
|
||||
guint line,
|
||||
const char *func,
|
||||
gboolean mt_require_locking,
|
||||
NMLogLevel level,
|
||||
NMLogDomain domain,
|
||||
int error,
|
||||
const char *ifname,
|
||||
const char *con_uuid,
|
||||
const char *fmt,
|
||||
...)
|
||||
{}
|
||||
|
||||
void
|
||||
_nm_utils_monotonic_timestamp_initialized(const struct timespec *tp,
|
||||
gint64 offset_sec,
|
||||
gboolean is_boottime)
|
||||
{}
|
Reference in New Issue
Block a user