mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-04 12:42:05 +02:00
Merge #400: A couple minor cleanups
ac01378
build: add -DSECP256K1_BUILD to benchmark_internal build flags (Andrew Poelstra)a6c6f99
Remove a bunch of unused stdlib #includes (Andrew Poelstra)
This commit is contained in:
@ -84,7 +84,7 @@ bench_sign_SOURCES = src/bench_sign.c
|
|||||||
bench_sign_LDADD = libsecp256k1.la $(SECP_LIBS) $(SECP_TEST_LIBS) $(COMMON_LIB)
|
bench_sign_LDADD = libsecp256k1.la $(SECP_LIBS) $(SECP_TEST_LIBS) $(COMMON_LIB)
|
||||||
bench_internal_SOURCES = src/bench_internal.c
|
bench_internal_SOURCES = src/bench_internal.c
|
||||||
bench_internal_LDADD = $(SECP_LIBS) $(COMMON_LIB)
|
bench_internal_LDADD = $(SECP_LIBS) $(COMMON_LIB)
|
||||||
bench_internal_CPPFLAGS = $(SECP_INCLUDES)
|
bench_internal_CPPFLAGS = -DSECP256K1_BUILD $(SECP_INCLUDES)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if USE_TESTS
|
if USE_TESTS
|
||||||
|
@ -7,8 +7,6 @@
|
|||||||
#ifndef _SECP256K1_FIELD_REPR_IMPL_H_
|
#ifndef _SECP256K1_FIELD_REPR_IMPL_H_
|
||||||
#define _SECP256K1_FIELD_REPR_IMPL_H_
|
#define _SECP256K1_FIELD_REPR_IMPL_H_
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "num.h"
|
#include "num.h"
|
||||||
#include "field.h"
|
#include "field.h"
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
#include "libsecp256k1-config.h"
|
#include "libsecp256k1-config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <string.h>
|
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "num.h"
|
#include "num.h"
|
||||||
#include "field.h"
|
#include "field.h"
|
||||||
|
@ -7,8 +7,6 @@
|
|||||||
#ifndef _SECP256K1_GROUP_IMPL_H_
|
#ifndef _SECP256K1_GROUP_IMPL_H_
|
||||||
#define _SECP256K1_GROUP_IMPL_H_
|
#define _SECP256K1_GROUP_IMPL_H_
|
||||||
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
#include "num.h"
|
#include "num.h"
|
||||||
#include "field.h"
|
#include "field.h"
|
||||||
#include "group.h"
|
#include "group.h"
|
||||||
|
@ -7,8 +7,6 @@
|
|||||||
#ifndef _SECP256K1_SCALAR_IMPL_H_
|
#ifndef _SECP256K1_SCALAR_IMPL_H_
|
||||||
#define _SECP256K1_SCALAR_IMPL_H_
|
#define _SECP256K1_SCALAR_IMPL_H_
|
||||||
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
#include "group.h"
|
#include "group.h"
|
||||||
#include "scalar.h"
|
#include "scalar.h"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user