Skip to content

Commit f09d202

Browse files
committed
arphrd-util: rename arphrd-list.[ch] -> arphrd-util.[ch]
1 parent aac977c commit f09d202

File tree

7 files changed

+7
-8
lines changed

7 files changed

+7
-8
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <linux/if_arp.h>
55
#include <string.h>
66

7-
#include "arphrd-list.h"
7+
#include "arphrd-util.h"
88
#include "macro.h"
99

1010
static const struct arphrd_name* lookup_arphrd(register const char *str, register GPERF_LEN_TYPE len);

src/basic/meson.build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ basic_sources = files('''
99
alloc-util.h
1010
architecture.c
1111
architecture.h
12-
arphrd-list.c
13-
arphrd-list.h
12+
arphrd-util.c
13+
arphrd-util.h
1414
async.c
1515
async.h
1616
audit-util.c

src/libsystemd/sd-network/network-util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include "sd-id128.h"
44

55
#include "alloc-util.h"
6-
#include "arphrd-list.h"
6+
#include "arphrd-util.h"
77
#include "device-util.h"
88
#include "fd-util.h"
99
#include "network-util.h"

src/test/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ tests += [
570570
[['src/test/test-af-list.c',
571571
generated_gperf_headers]],
572572

573-
[['src/test/test-arphrd-list.c',
573+
[['src/test/test-arphrd-util.c',
574574
generated_gperf_headers]],
575575

576576
[['src/test/test-ip-protocol-list.c',
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22

33
#include <linux/if_arp.h>
44

5+
#include "arphrd-util.h"
56
#include "string-util.h"
67
#include "tests.h"
78

8-
#include "arphrd-list.h"
9-
109
int main(int argc, const char *argv[]) {
1110
test_setup_logging(LOG_INFO);
1211

src/udev/test-udev-netlink.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#include "sd-device.h"
44

5-
#include "arphrd-list.h"
5+
#include "arphrd-util.h"
66
#include "ether-addr-util.h"
77
#include "parse-util.h"
88
#include "tests.h"

0 commit comments

Comments
 (0)