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:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user