mirror of
https://git.disroot.org/80486DX2-66/polonium.git
synced 2024-12-26 07:09:50 +05:30
main.c: extract default configuration as a macro
This commit is contained in:
parent
e6085b994f
commit
ff06576b72
@ -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)
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user