mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-22 18:54:36 +00:00
platform: add "nmp-base.c" source
"nmp-base.h" really should only contain simple defines like enum types or #define. As such, it almost does not need a source file. However, the enum-to-string methods for the enums of "nmp-base.h" need a place. Add "nmp-base.c" for that.
This commit is contained in:
parent
aea053db38
commit
4366dc6582
|
@ -607,6 +607,7 @@ src_libnm_platform_libnm_platform_la_SOURCES = \
|
|||
src/libnm-platform/nm-platform-utils.h \
|
||||
src/libnm-platform/nm-platform.c \
|
||||
src/libnm-platform/nm-platform.h \
|
||||
src/libnm-platform/nmp-base.c \
|
||||
src/libnm-platform/nmp-base.h \
|
||||
src/libnm-platform/nmp-global-tracker.c \
|
||||
src/libnm-platform/nmp-global-tracker.h \
|
||||
|
|
|
@ -7,6 +7,7 @@ libnm_platform = static_library(
|
|||
'nm-netlink.c',
|
||||
'nm-platform-utils.c',
|
||||
'nm-platform.c',
|
||||
'nmp-base.c',
|
||||
'nmp-global-tracker.c',
|
||||
'nmp-netns.c',
|
||||
'nmp-object.c',
|
||||
|
|
8
src/libnm-platform/nmp-base.c
Normal file
8
src/libnm-platform/nmp-base.c
Normal file
|
@ -0,0 +1,8 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
/*
|
||||
* Copyright (C) 2015 - 2018 Red Hat, Inc.
|
||||
*/
|
||||
|
||||
#include "libnm-glib-aux/nm-default-glib-i18n-lib.h"
|
||||
|
||||
#include "nmp-base.h"
|
Loading…
Reference in a new issue