From afc5fc1ffa51f9d24e65b953899b15e76c4dad98 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 13 May 2017 11:44:51 -0400 Subject: [PATCH] tree-wide: drop assert.h includes We provide an independent reimplementation in macro.h, and that's the one we want to use. Including the system header is unnecessary and confusing. --- src/basic/macro.h | 1 - src/boot/bootctl.c | 1 - src/journal/journal-qrcode.c | 2 +- src/libsystemd-network/test-ipv4ll.c | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/basic/macro.h b/src/basic/macro.h index 6b2aeb9..a51562d 100644 --- a/src/basic/macro.h +++ b/src/basic/macro.h @@ -19,7 +19,6 @@ along with systemd; If not, see . ***/ -#include #include #include #include diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c index 3358dc3..8efa605 100644 --- a/src/boot/bootctl.c +++ b/src/boot/bootctl.c @@ -18,7 +18,6 @@ along with systemd; If not, see . ***/ -#include #include #include #include diff --git a/src/journal/journal-qrcode.c b/src/journal/journal-qrcode.c index e38730d..5ee1049 100644 --- a/src/journal/journal-qrcode.c +++ b/src/journal/journal-qrcode.c @@ -17,7 +17,6 @@ along with systemd; If not, see . ***/ -#include #include #include #include @@ -25,6 +24,7 @@ #include #include "journal-qrcode.h" +#include "macro.h" #define WHITE_ON_BLACK "\033[40;37;1m" #define NORMAL "\033[0m" diff --git a/src/libsystemd-network/test-ipv4ll.c b/src/libsystemd-network/test-ipv4ll.c index fe70697..9b3fde1 100644 --- a/src/libsystemd-network/test-ipv4ll.c +++ b/src/libsystemd-network/test-ipv4ll.c @@ -17,7 +17,6 @@ along with systemd; If not, see . ***/ -#include #include #include #include -- 2.7.4