mirror of
https://github.com/systemd/systemd.git
synced 2025-01-07 17:14:09 +08:00
udev: move naming-scheme.[ch] into src/shared/
That way we can use it from non-udev code too, for example nspawn.
This commit is contained in:
parent
6bbeef2042
commit
b355d0c9af
@ -130,6 +130,8 @@ shared_sources = files('''
|
||||
module-util.h
|
||||
mount-util.c
|
||||
mount-util.h
|
||||
netif-naming-scheme.c
|
||||
netif-naming-scheme.h
|
||||
nscd-flush.c
|
||||
nscd-flush.h
|
||||
nsflags.c
|
||||
|
@ -1,6 +1,7 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1+ */
|
||||
|
||||
#include "alloc-util.h"
|
||||
#include "naming-scheme.h"
|
||||
#include "netif-naming-scheme.h"
|
||||
#include "proc-cmdline.h"
|
||||
#include "string-util.h"
|
||||
|
@ -40,8 +40,6 @@ libudev_core_sources = '''
|
||||
udev-builtin-usb_id.c
|
||||
net/link-config.c
|
||||
net/link-config.h
|
||||
net/naming-scheme.c
|
||||
net/naming-scheme.h
|
||||
'''.split()
|
||||
|
||||
if conf.get('HAVE_KMOD') == 1
|
||||
|
@ -16,7 +16,7 @@
|
||||
#include "link-config.h"
|
||||
#include "log.h"
|
||||
#include "memory-util.h"
|
||||
#include "naming-scheme.h"
|
||||
#include "netif-naming-scheme.h"
|
||||
#include "netlink-util.h"
|
||||
#include "network-internal.h"
|
||||
#include "parse-util.h"
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include "fd-util.h"
|
||||
#include "fileio.h"
|
||||
#include "fs-util.h"
|
||||
#include "naming-scheme.h"
|
||||
#include "netif-naming-scheme.h"
|
||||
#include "parse-util.h"
|
||||
#include "proc-cmdline.h"
|
||||
#include "stdio-util.h"
|
||||
|
Loading…
Reference in New Issue
Block a user