diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-05-13 11:44:51 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-05-13 15:44:30 -0400 |
commit | afc5fc1ffa51f9d24e65b953899b15e76c4dad98 (patch) | |
tree | dbd8f90e352225f34b18700959076ef310660ab9 /src | |
parent | d7f149c1aae0e277fabfe3bb6441e333f867444f (diff) | |
download | systemd-afc5fc1ffa51f9d24e65b953899b15e76c4dad98.tar.gz |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/basic/macro.h | 1 | ||||
-rw-r--r-- | src/boot/bootctl.c | 1 | ||||
-rw-r--r-- | src/journal/journal-qrcode.c | 2 | ||||
-rw-r--r-- | src/libsystemd-network/test-ipv4ll.c | 1 |
4 files changed, 1 insertions, 4 deletions
diff --git a/src/basic/macro.h b/src/basic/macro.h index 6b2aeb933f..a51562db35 100644 --- a/src/basic/macro.h +++ b/src/basic/macro.h @@ -19,7 +19,6 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ -#include <assert.h> #include <inttypes.h> #include <stdbool.h> #include <sys/param.h> diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c index 3358dc32a5..8efa605089 100644 --- a/src/boot/bootctl.c +++ b/src/boot/bootctl.c @@ -18,7 +18,6 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ -#include <assert.h> #include <blkid.h> #include <ctype.h> #include <dirent.h> diff --git a/src/journal/journal-qrcode.c b/src/journal/journal-qrcode.c index e38730d65c..5ee10498d1 100644 --- a/src/journal/journal-qrcode.c +++ b/src/journal/journal-qrcode.c @@ -17,7 +17,6 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ -#include <assert.h> #include <errno.h> #include <qrencode.h> #include <stdbool.h> @@ -25,6 +24,7 @@ #include <stdlib.h> #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 fe70697075..9b3fde1b26 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 <http://www.gnu.org/licenses/>. ***/ -#include <assert.h> #include <errno.h> #include <stdio.h> #include <stdlib.h> |