diff --git a/secp256k1-sys/depend/secp256k1/src/util.h b/secp256k1-sys/depend/secp256k1/src/util.h index 5de62d4ed..613901ef3 100644 --- a/secp256k1-sys/depend/secp256k1/src/util.h +++ b/secp256k1-sys/depend/secp256k1/src/util.h @@ -8,9 +8,7 @@ #define SECP256K1_UTIL_H #include "../include/secp256k1.h" -extern int rustsecp256k1_v0_9_0_ecdsa_signature_parse_compact( - const rustsecp256k1_v0_9_0_context *ctx, - rustsecp256k1_v0_9_0_ecdsa_signature *sig, const unsigned char *input64); + #include #include #include diff --git a/secp256k1-sys/depend/util.h.patch b/secp256k1-sys/depend/util.h.patch deleted file mode 100644 index 59b23e0df..000000000 --- a/secp256k1-sys/depend/util.h.patch +++ /dev/null @@ -1,6 +0,0 @@ -10c10,12 -< ---- -> extern int secp256k1_ecdsa_signature_parse_compact( -> const secp256k1_context *ctx, -> secp256k1_ecdsa_signature *sig, const unsigned char *input64); diff --git a/secp256k1-sys/vendor-libsecp.sh b/secp256k1-sys/vendor-libsecp.sh index ed437fc07..e48641287 100755 --- a/secp256k1-sys/vendor-libsecp.sh +++ b/secp256k1-sys/vendor-libsecp.sh @@ -97,7 +97,6 @@ echo "$SOURCE_REV" >> ./secp256k1-HEAD-revision.txt patch "$DIR/include/secp256k1.h" "./secp256k1.h.patch" patch "$DIR/src/secp256k1.c" "./secp256k1.c.patch" patch "$DIR/src/scratch_impl.h" "./scratch_impl.h.patch" -patch "$DIR/src/util.h" "./util.h.patch" # Fix a linking error while cross-compiling to windowns with mingw patch "$DIR/contrib/lax_der_parsing.c" "./lax_der_parsing.c.patch"