Skip to content

Commit 4a52d26

Browse files
committed
basic: Remove list.h include from log.h
1 parent b14f74f commit 4a52d26

File tree

9 files changed

+8
-1
lines changed

9 files changed

+8
-1
lines changed

src/basic/log-context.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include <stdbool.h>
55
#include <stddef.h>
66

7+
#include "list.h"
78
#include "macro.h"
89
#include "memory-util.h"
910

src/basic/log.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include "fd-util.h"
2525
#include "format-util.h"
2626
#include "iovec-util.h"
27+
#include "list.h"
2728
#include "log.h"
2829
#include "log-context.h"
2930
#include "macro.h"

src/basic/log.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#include <string.h>
88
#include <syslog.h>
99

10-
#include "list.h"
1110
#include "macro.h"
1211
#include "stdio-util.h"
1312

src/pcrlock/pcrlock.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
#include "hexdecoct.h"
3333
#include "initrd-util.h"
3434
#include "json-util.h"
35+
#include "list.h"
3536
#include "main-func.h"
3637
#include "mkdir-label.h"
3738
#include "openssl-util.h"

src/shutdown/detach-dm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include "devnum-util.h"
1616
#include "errno-util.h"
1717
#include "fd-util.h"
18+
#include "list.h"
1819
#include "shutdown.h"
1920

2021
typedef struct DeviceMapper {

src/shutdown/detach-loopback.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include "device-util.h"
2020
#include "errno-util.h"
2121
#include "fd-util.h"
22+
#include "list.h"
2223
#include "shutdown.h"
2324

2425
typedef struct LoopbackDevice {

src/shutdown/detach-md.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include "devnum-util.h"
1818
#include "errno-util.h"
1919
#include "fd-util.h"
20+
#include "list.h"
2021
#include "shutdown.h"
2122
#include "string-util.h"
2223

src/shutdown/detach-swap.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include "detach-swap.h"
1010
#include "errno-util.h"
1111
#include "libmount-util.h"
12+
#include "list.h"
1213

1314
static void swap_device_free(SwapDevice **head, SwapDevice *m) {
1415
assert(head);

src/udev/udev-manager.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include "sd-varlink.h"
99

1010
#include "hashmap.h"
11+
#include "list.h"
1112
#include "macro.h"
1213
#include "time-util.h"
1314
#include "udev-config.h"

0 commit comments

Comments
 (0)