mirror of
https://gitlab.com/80486DX2-66/gists
synced 2025-01-08 19:53:50 +05:30
bool-operations.c: make use of EXIT_SUCCESS
This commit is contained in:
parent
ee3c8b26c7
commit
105deedfac
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user