1
0
mirror of https://git.disroot.org/80486DX2-66/polonium.git synced 2024-12-25 23:00:07 +05:30

main.c: extract default configuration as a macro

This commit is contained in:
Intel A80486DX2-66 2024-11-22 20:30:53 +03:00
parent e6085b994f
commit ff06576b72
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B
2 changed files with 3 additions and 1 deletions

View File

@ -65,6 +65,8 @@ enum file_validation_status {
} while (0)
/* macros: definitions */
#define DEFAULT_CONFIG (C_CONFIRM)
#ifndef SIZE_T_C
# if defined(UINT64_MAX) && SIZE_MAX == UINT64_MAX
# define SIZE_T_C(x) UINT64_C(x)

View File

@ -48,7 +48,7 @@ const char* ARG_VERBOSE = "-verbose";
/* global variables */
uint32_t PRNG_seed_value;
uint8_t config = C_CONFIRM;
uint8_t config = DEFAULT_CONFIG;
/* macros: procedures */
#define ERROR_DOES_NOT_EXIST \