Skip to content

Commit 69ebfef

Browse files
committed
basic: Remove stdio-util.h include from log.h
1 parent 4a52d26 commit 69ebfef

File tree

7 files changed

+6
-1
lines changed

7 files changed

+6
-1
lines changed

src/basic/format-ifname.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/* SPDX-License-Identifier: LGPL-2.1-or-later */
22

33
#include "format-ifname.h"
4+
#include "stdio-util.h"
45
#include "string-util.h"
56

67
assert_cc(STRLEN("%") + DECIMAL_STR_MAX(int) <= IF_NAMESIZE);

src/basic/log.h

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

1010
#include "macro.h"
11-
#include "stdio-util.h"
1211

1312
/* Some structures we reference but don't want to pull in headers for */
1413
struct iovec;

src/libsystemd-network/sd-dns-resolver.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include "macro.h"
55
#include "unaligned.h"
66
#include "socket-netlink.h"
7+
#include "stdio-util.h"
78
#include "string-table.h"
89
#include "string-util.h"
910
#include "strv.h"

src/network/networkctl-status-link.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#include "networkctl-status-link.h"
2727
#include "networkctl-status-system.h"
2828
#include "networkctl-util.h"
29+
#include "stdio-util.h"
2930
#include "strv.h"
3031
#include "udev-util.h"
3132

src/network/networkctl-util.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include "ansi-color.h"
77
#include "networkctl.h"
88
#include "networkctl-util.h"
9+
#include "stdio-util.h"
910
#include "strv.h"
1011
#include "varlink-util.h"
1112

src/shared/coredump-util.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include "coredump-util.h"
66
#include "extract-word.h"
77
#include "fileio.h"
8+
#include "stdio-util.h"
89
#include "string-table.h"
910
#include "unaligned.h"
1011
#include "virt.h"

src/shared/tests.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include "rlimit-util.h"
1515
#include "signal-util.h"
1616
#include "static-destruct.h"
17+
#include "stdio-util.h"
1718
#include "strv.h"
1819

1920
static inline void log_set_assert_return_is_criticalp(bool *p) {

0 commit comments

Comments
 (0)