diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2022-11-24 15:53:40 -0500 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-11-25 01:07:59 +0100 |
commit | 7063f0aefd8a8c3c8b610ef6168cddfb2141fa12 (patch) | |
tree | 33c160c80c6a269fb8adf7c65c75be7fc6181ea0 /string.c | |
parent | f51fc836c5b690f5448e76196dd40bdb55957a11 (diff) | |
download | mig-7063f0aefd8a8c3c8b610ef6168cddfb2141fa12.tar.gz mig-7063f0aefd8a8c3c8b610ef6168cddfb2141fa12.tar.bz2 mig-7063f0aefd8a8c3c8b610ef6168cddfb2141fa12.zip |
mig: replace boolean.h with stdbool.h
Message-Id: <Y3/Z1CGL8D4OwT66@viriathus>
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -25,9 +25,9 @@ */ #include <sys/types.h> +#include <stdbool.h> #include <stdlib.h> -#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"; |