Skip to content

Commit b5b8e7b

Browse files
Don't declare constants twice
This is forbidden in C++.
1 parent 769528f commit b5b8e7b

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/ecmult.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ typedef struct {
1717
secp256k1_ge_storage (*pre_g_128)[]; /* odd multiples of 2^128*generator */
1818
} secp256k1_ecmult_context;
1919

20-
static const size_t SECP256K1_ECMULT_CONTEXT_PREALLOCATED_SIZE;
2120
static void secp256k1_ecmult_context_init(secp256k1_ecmult_context *ctx);
2221
static void secp256k1_ecmult_context_build(secp256k1_ecmult_context *ctx, void **prealloc);
2322
static void secp256k1_ecmult_context_finalize_memcpy(secp256k1_ecmult_context *dst, const secp256k1_ecmult_context *src);

src/ecmult_gen.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ typedef struct {
3535
secp256k1_gej initial;
3636
} secp256k1_ecmult_gen_context;
3737

38-
static const size_t SECP256K1_ECMULT_GEN_CONTEXT_PREALLOCATED_SIZE;
3938
static void secp256k1_ecmult_gen_context_init(secp256k1_ecmult_gen_context* ctx);
4039
static void secp256k1_ecmult_gen_context_build(secp256k1_ecmult_gen_context* ctx, void **prealloc);
4140
static void secp256k1_ecmult_gen_context_finalize_memcpy(secp256k1_ecmult_gen_context *dst, const secp256k1_ecmult_gen_context* src);

0 commit comments

Comments
 (0)