Skip to content

Commit

Permalink
removed deprecated define and silenced warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kcw-grunt committed Nov 25, 2023
1 parent a5ee1d8 commit 4121577
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions BRKey.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
#pragma clang diagnostic ignored "-Wunused-function"
#pragma GCC diagnostic ignored "-Wunused-function"
#pragma clang diagnostic ignored "-Wconditional-uninitialized"
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
#include "secp256k1/src/basic-config.h"
#include "secp256k1/src/secp256k1.c"
#pragma clang diagnostic pop
Expand All @@ -57,7 +56,7 @@
static secp256k1_context *_ctx = NULL;
static pthread_once_t _ctx_once = PTHREAD_ONCE_INIT;

static void _ctx_init()
static void _ctx_init(void)
{
_ctx = secp256k1_context_create(SECP256K1_CONTEXT_SIGN | SECP256K1_CONTEXT_VERIFY);
}
Expand Down

0 comments on commit 4121577

Please sign in to comment.