Commit 842e80e83f3f78d5b0430bf8265901ac732bc6f7

Thomas de Grivel 2023-08-16T19:25:15

compare_bool

diff --git a/libc3/compare.c b/libc3/compare.c
index f183e95..3b59111 100644
--- a/libc3/compare.c
+++ b/libc3/compare.c
@@ -54,7 +54,7 @@ s8 compare_array (const s_array *a, const s_array *b)
   return 0;
 }
 
-s8 compare_bool (e_bool a, e_bool b)
+s8 compare_bool (bool a, bool b)
 {
   if (! a && b)
     return -1;
diff --git a/libc3/compare.h b/libc3/compare.h
index 22695c8..49a5d7a 100644
--- a/libc3/compare.h
+++ b/libc3/compare.h
@@ -18,7 +18,7 @@
 #define COMPARE_PROTOTYPE(type)                     \
   s8 compare_##type (type a, type b)
 
-s8 compare_bool (e_bool a, e_bool b);
+s8 compare_bool (bool a, bool b);
 s8 compare_call (const s_call *a, const s_call *b);
 s8 compare_cfn (const s_cfn *a, const s_cfn *b);
 s8 compare_character (character a, character b);