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 /mig_string.h | |
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 'mig_string.h')
-rw-r--r-- | mig_string.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mig_string.h b/mig_string.h index d6cef95..920171c 100644 --- a/mig_string.h +++ b/mig_string.h @@ -27,10 +27,9 @@ #ifndef _MIG_STRING_H #define _MIG_STRING_H +#include <stdbool.h> #include <string.h> -#include "boolean.h" - typedef char *string_t; typedef const char *const_string_t; typedef const_string_t identifier_t; @@ -43,7 +42,7 @@ extern void strfree(string_t string); #define streql(a, b) (strcmp((a), (b)) == 0) -extern const char *strbool(boolean_t bool); +extern const char *strbool(bool v); extern const char *strstring(const_string_t string); #endif /* _MIG_STRING_H */ |