Remove underscores from header defs.
This makes them consistent with other files and avoids reserved identifiers.
This commit is contained in:
parent
f2d9aeae6d
commit
fb390c5299
@ -47,8 +47,8 @@ int main(int argc, char **argv) {
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
fprintf(fp, "#ifndef _SECP256K1_ECMULT_STATIC_CONTEXT_\n");
|
fprintf(fp, "#ifndef SECP256K1_ECMULT_STATIC_CONTEXT_H\n");
|
||||||
fprintf(fp, "#define _SECP256K1_ECMULT_STATIC_CONTEXT_\n");
|
fprintf(fp, "#define SECP256K1_ECMULT_STATIC_CONTEXT_H\n");
|
||||||
fprintf(fp, "#include \"src/group.h\"\n");
|
fprintf(fp, "#include \"src/group.h\"\n");
|
||||||
fprintf(fp, "#define SC SECP256K1_GE_STORAGE_CONST\n");
|
fprintf(fp, "#define SC SECP256K1_GE_STORAGE_CONST\n");
|
||||||
fprintf(fp, "#if ECMULT_GEN_PREC_N != %d || ECMULT_GEN_PREC_G != %d\n", ECMULT_GEN_PREC_N, ECMULT_GEN_PREC_G);
|
fprintf(fp, "#if ECMULT_GEN_PREC_N != %d || ECMULT_GEN_PREC_G != %d\n", ECMULT_GEN_PREC_N, ECMULT_GEN_PREC_G);
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
* file COPYING or https://www.opensource.org/licenses/mit-license.php.*
|
* file COPYING or https://www.opensource.org/licenses/mit-license.php.*
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
|
|
||||||
#ifndef _SECP256K1_MODULE_EXTRAKEYS_MAIN_
|
#ifndef SECP256K1_MODULE_EXTRAKEYS_MAIN_H
|
||||||
#define _SECP256K1_MODULE_EXTRAKEYS_MAIN_
|
#define SECP256K1_MODULE_EXTRAKEYS_MAIN_H
|
||||||
|
|
||||||
#include "include/secp256k1.h"
|
#include "include/secp256k1.h"
|
||||||
#include "include/secp256k1_extrakeys.h"
|
#include "include/secp256k1_extrakeys.h"
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
* file COPYING or https://www.opensource.org/licenses/mit-license.php.*
|
* file COPYING or https://www.opensource.org/licenses/mit-license.php.*
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
|
|
||||||
#ifndef _SECP256K1_MODULE_EXTRAKEYS_TESTS_EXHAUSTIVE_
|
#ifndef SECP256K1_MODULE_EXTRAKEYS_TESTS_EXHAUSTIVE_H
|
||||||
#define _SECP256K1_MODULE_EXTRAKEYS_TESTS_EXHAUSTIVE_
|
#define SECP256K1_MODULE_EXTRAKEYS_TESTS_EXHAUSTIVE_H
|
||||||
|
|
||||||
#include "src/modules/extrakeys/main_impl.h"
|
#include "src/modules/extrakeys/main_impl.h"
|
||||||
#include "include/secp256k1_extrakeys.h"
|
#include "include/secp256k1_extrakeys.h"
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
* file COPYING or https://www.opensource.org/licenses/mit-license.php.*
|
* file COPYING or https://www.opensource.org/licenses/mit-license.php.*
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
|
|
||||||
#ifndef _SECP256K1_MODULE_EXTRAKEYS_TESTS_
|
#ifndef SECP256K1_MODULE_EXTRAKEYS_TESTS_H
|
||||||
#define _SECP256K1_MODULE_EXTRAKEYS_TESTS_
|
#define SECP256K1_MODULE_EXTRAKEYS_TESTS_H
|
||||||
|
|
||||||
#include "secp256k1_extrakeys.h"
|
#include "secp256k1_extrakeys.h"
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
* file COPYING or https://www.opensource.org/licenses/mit-license.php.*
|
* file COPYING or https://www.opensource.org/licenses/mit-license.php.*
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
|
|
||||||
#ifndef _SECP256K1_MODULE_SCHNORRSIG_MAIN_
|
#ifndef SECP256K1_MODULE_SCHNORRSIG_MAIN_H
|
||||||
#define _SECP256K1_MODULE_SCHNORRSIG_MAIN_
|
#define SECP256K1_MODULE_SCHNORRSIG_MAIN_H
|
||||||
|
|
||||||
#include "include/secp256k1.h"
|
#include "include/secp256k1.h"
|
||||||
#include "include/secp256k1_schnorrsig.h"
|
#include "include/secp256k1_schnorrsig.h"
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
* file COPYING or https://www.opensource.org/licenses/mit-license.php.*
|
* file COPYING or https://www.opensource.org/licenses/mit-license.php.*
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
|
|
||||||
#ifndef _SECP256K1_MODULE_SCHNORRSIG_TESTS_EXHAUSTIVE_
|
#ifndef SECP256K1_MODULE_SCHNORRSIG_TESTS_EXHAUSTIVE_H
|
||||||
#define _SECP256K1_MODULE_SCHNORRSIG_TESTS_EXHAUSTIVE_
|
#define SECP256K1_MODULE_SCHNORRSIG_TESTS_EXHAUSTIVE_H
|
||||||
|
|
||||||
#include "include/secp256k1_schnorrsig.h"
|
#include "include/secp256k1_schnorrsig.h"
|
||||||
#include "src/modules/schnorrsig/main_impl.h"
|
#include "src/modules/schnorrsig/main_impl.h"
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
* file COPYING or https://www.opensource.org/licenses/mit-license.php.*
|
* file COPYING or https://www.opensource.org/licenses/mit-license.php.*
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
|
|
||||||
#ifndef _SECP256K1_MODULE_SCHNORRSIG_TESTS_
|
#ifndef SECP256K1_MODULE_SCHNORRSIG_TESTS_H
|
||||||
#define _SECP256K1_MODULE_SCHNORRSIG_TESTS_
|
#define SECP256K1_MODULE_SCHNORRSIG_TESTS_H
|
||||||
|
|
||||||
#include "secp256k1_schnorrsig.h"
|
#include "secp256k1_schnorrsig.h"
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
* file COPYING or https://www.opensource.org/licenses/mit-license.php.*
|
* file COPYING or https://www.opensource.org/licenses/mit-license.php.*
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
|
|
||||||
#ifndef _SECP256K1_SCRATCH_
|
#ifndef SECP256K1_SCRATCH_H
|
||||||
#define _SECP256K1_SCRATCH_
|
#define SECP256K1_SCRATCH_H
|
||||||
|
|
||||||
/* The typedef is used internally; the struct name is used in the public API
|
/* The typedef is used internally; the struct name is used in the public API
|
||||||
* (where it is exposed as a different typedef) */
|
* (where it is exposed as a different typedef) */
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
* file COPYING or https://www.opensource.org/licenses/mit-license.php.*
|
* file COPYING or https://www.opensource.org/licenses/mit-license.php.*
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
|
|
||||||
#ifndef _SECP256K1_SCRATCH_IMPL_H_
|
#ifndef SECP256K1_SCRATCH_IMPL_H
|
||||||
#define _SECP256K1_SCRATCH_IMPL_H_
|
#define SECP256K1_SCRATCH_IMPL_H
|
||||||
|
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "scratch.h"
|
#include "scratch.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user