Skip to content

Commit 93a1f79

Browse files
committed
basic: Stop including log.h in macro.h
Now that the necessary functions from log.h have been moved to macro.h, we can stop including log.h in macro.h. This requires modifying source files all over the tree to include log.h instead.
1 parent c68eb22 commit 93a1f79

File tree

324 files changed

+353
-30
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

324 files changed

+353
-30
lines changed

src/ac-power/ac-power.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include "ansi-color.h"
66
#include "battery-util.h"
77
#include "build.h"
8+
#include "log.h"
89
#include "main-func.h"
910
#include "pretty-print.h"
1011

src/analyze/analyze-compare-versions.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
#include "analyze-compare-versions.h"
66
#include "compare-operator.h"
7+
#include "log.h"
78
#include "macro.h"
89
#include "string-util.h"
910
#include "strv.h"

src/basic/argv-util.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include "argv-util.h"
99
#include "capability-util.h"
1010
#include "errno-util.h"
11+
#include "log.h"
1112
#include "missing_sched.h"
1213
#include "parse-util.h"
1314
#include "path-util.h"

src/basic/build.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 "build.h"
88
#include "extract-word.h"
9+
#include "log.h"
910
#include "macro.h"
1011
#include "string-util.h"
1112
#include "terminal-util.h"

src/basic/cap-list.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include "capability-util.h"
99
#include "cap-list.h"
1010
#include "extract-word.h"
11+
#include "log.h"
1112
#include "macro.h"
1213
#include "parse-util.h"
1314
#include "stdio-util.h"

src/basic/chattr-util.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include "errno-util.h"
1111
#include "fd-util.h"
1212
#include "fs-util.h"
13+
#include "log.h"
1314
#include "macro.h"
1415
#include "string-util.h"
1516

src/basic/compress.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#include "fd-util.h"
2828
#include "fileio.h"
2929
#include "io-util.h"
30+
#include "log.h"
3031
#include "macro.h"
3132
#include "sparse-endian.h"
3233
#include "string-table.h"

src/basic/confidential-virt.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include "errno-util.h"
1515
#include "fd-util.h"
1616
#include "fileio.h"
17+
#include "log.h"
1718
#include "string-table.h"
1819
#include "utf8.h"
1920

src/basic/dlfcn-util.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 "dlfcn-util.h"
4+
#include "log.h"
45

56
static int dlsym_many_or_warnv(void *dl, int log_level, va_list ap) {
67
void (**fn)(void);

src/basic/efivars.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include "fd-util.h"
1616
#include "fileio.h"
1717
#include "io-util.h"
18+
#include "log.h"
1819
#include "macro.h"
1920
#include "memory-util.h"
2021
#include "missing_fs.h"

0 commit comments

Comments
 (0)