Skip to content

Commit 6561dbe

Browse files
committed
secp256k1-sys: update patchfiles for upcoming libsecp v0.4.0 update
Update the `util.h.patch` file in preparation for running the vendor script. Done by guess work.
1 parent 186b643 commit 6561dbe

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

secp256k1-sys/depend/util.h.patch

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
134,149d133
1+
147,154d146
22
< static SECP256K1_INLINE void *checked_malloc(const secp256k1_callback* cb, size_t size) {
33
< void *ret = malloc(size);
44
< if (ret == NULL) {
@@ -7,11 +7,3 @@
77
< return ret;
88
< }
99
<
10-
< static SECP256K1_INLINE void *checked_realloc(const secp256k1_callback* cb, void *ptr, size_t size) {
11-
< void *ret = realloc(ptr, size);
12-
< if (ret == NULL) {
13-
< secp256k1_callback_call(cb, "Out of memory");
14-
< }
15-
< return ret;
16-
< }
17-
<

0 commit comments

Comments
 (0)