1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2024-09-19 05:45:36 +05:30

bool-operations.c: make use of EXIT_SUCCESS

This commit is contained in:
Intel A80486DX2-66 2024-06-25 23:10:50 +03:00
parent ee3c8b26c7
commit 105deedfac
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -9,6 +9,7 @@
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#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;
}