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.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2017-05-13 15:44:30 -04:00
parent d7f149c1aa
commit afc5fc1ffa
4 changed files with 1 additions and 4 deletions
-1
View File
@@ -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>
-1
View File
@@ -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>
+1 -1
View File
@@ -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"
-1
View File
@@ -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>