-fix FTBFS

This commit is contained in:
Christian Grothoff 2021-12-02 14:35:45 +01:00
parent 3a5eb9285c
commit ae866fc45d
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
3 changed files with 4 additions and 4 deletions

View File

@ -130,7 +130,7 @@ static int connection_close;
/**
* -I command-line flag given?
*/
int TEH_check_invariants;
int TEH_check_invariants_flag;
/**
* True if we should commit suicide once all active
@ -1911,7 +1911,7 @@ main (int argc,
GNUNET_GETOPT_option_flag ('I',
"check-invariants",
"enable expensive invariant checks",
&TEH_check_invariants),
&TEH_check_invariants_flag),
GNUNET_GETOPT_option_flag ('r',
"allow-reuse-address",
"allow multiple HTTPDs to listen to the same port",

View File

@ -147,7 +147,7 @@ extern char *TEH_exchange_directory;
/**
* -I command-line flag given?
*/
extern int TEH_check_invariants;
extern int TEH_check_invariants_flag;
/**
* Are clients allowed to request /keys for times other than the

View File

@ -549,7 +549,7 @@ TEH_check_invariants ()
{
struct TEH_KeyStateHandle *ksh;
if (0 == TEH_check_invariants)
if (0 == TEH_check_invariants_flag)
return;
ksh = TEH_keys_get_state ();
if (NULL == ksh)