From 7063f0aefd8a8c3c8b610ef6168cddfb2141fa12 Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Thu, 24 Nov 2022 15:53:40 -0500 Subject: mig: replace boolean.h with stdbool.h Message-Id: --- string.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'string.c') diff --git a/string.c b/string.c index 3f69903..e182948 100644 --- a/string.c +++ b/string.c @@ -25,9 +25,9 @@ */ #include +#include #include -#include "boolean.h" #include "error.h" #include "mig_string.h" @@ -61,9 +61,9 @@ strfree(string_t string) } const char * -strbool(boolean_t bool) +strbool(bool v) { - if (bool) + if (v) return "TRUE"; else return "FALSE"; -- cgit v1.2.3