From 105deedfac400f1672510cfc91e378cd083a409a Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Tue, 25 Jun 2024 23:10:50 +0300 Subject: [PATCH] bool-operations.c: make use of `EXIT_SUCCESS` --- c-programming/experiments/bool-operations.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/c-programming/experiments/bool-operations.c b/c-programming/experiments/bool-operations.c index e766550..1777f8d 100644 --- a/c-programming/experiments/bool-operations.c +++ b/c-programming/experiments/bool-operations.c @@ -9,6 +9,7 @@ #include #include #include +#include #define BOOL_TO_STR(x) ((x) ? "true" : "false") #define SHOW_BOOL printf("boolean = %s\t(0x%" PRIxMAX ")\n", \ @@ -43,5 +44,5 @@ int main(void) { boolean >>= 1; SHOW_BOOL; - return 0; + return EXIT_SUCCESS; }