aboutsummaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2022-11-24 15:53:40 -0500
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-11-25 01:07:59 +0100
commit7063f0aefd8a8c3c8b610ef6168cddfb2141fa12 (patch)
tree33c160c80c6a269fb8adf7c65c75be7fc6181ea0 /string.c
parentf51fc836c5b690f5448e76196dd40bdb55957a11 (diff)
downloadmig-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/string.c b/string.c
index 3f69903..e182948 100644
--- a/string.c
+++ b/string.c
@@ -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";