From 430c6378683f5bd3f59b5fe1546161bc03cbc215 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Wed, 17 Feb 2021 20:35:36 -0800 Subject: [PATCH] remove bool shims in diffimg Now that we build with C99, the existence of this support is guaranteed to be supplied in stdbool.h. --- contrib/diffimg/diffimg.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/contrib/diffimg/diffimg.c b/contrib/diffimg/diffimg.c index 510b53c49..5b4d6acdc 100644 --- a/contrib/diffimg/diffimg.c +++ b/contrib/diffimg/diffimg.c @@ -33,20 +33,12 @@ #define EX_DATAERR 65 #define EX_NOINPUT 66 #define EX_UNAVAILABLE 69 -#define bool int -#define false 0 #else #include #endif #include #include -#define NOT(v) (!(v)) -#ifndef false -#define false 0 -#define true NOT(false) -#endif - static char *pstopng="gs -dNOPAUSE -sDEVICE=pngalpha -sOutputFile=- -q -"; static gdImagePtr imageLoad (char *filename) -- 2.40.0