Skip to content

Commit f4940d8

Browse files
committed
fix patch
1 parent 32e529f commit f4940d8

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Diff for: src/deps/patches/windows/windows_patch.patch

+10-10
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,32 @@ Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
66
<+>UTF-8
77
===================================================================
88
diff --git a/secp256k1/src/scratch.h b/secp256k1/src/scratch.h
9-
--- a/secp256k1/src/scratch.h(revision 0ba880590d5c9e40e99db492288c218722623921)
10-
+++ b/secp256k1/src/scratch.h(date 1743529452895)
9+
--- a/secp256k1/src/scratch.h (revision 0ba880590d5c9e40e99db492288c218722623921)
10+
+++ b/secp256k1/src/scratch.h (date 1743529452895)
1111
@@ -20,20 +20,20 @@
1212
const secp256k1_callback* error_callback;
1313
} secp256k1_scratch;
14-
14+
1515
-static secp256k1_scratch* secp256k1_scratch_create(const secp256k1_callback* error_callback, size_t max_size);
1616
+secp256k1_scratch* secp256k1_scratch_create(const secp256k1_callback* error_callback, size_t max_size);
17-
17+
1818
-static void secp256k1_scratch_destroy(secp256k1_scratch* scratch);
1919
+void secp256k1_scratch_destroy(secp256k1_scratch* scratch);
20-
20+
2121
/** Attempts to allocate a new stack frame with `n` available bytes. Returns 1 on success, 0 on failure */
2222
-static int secp256k1_scratch_allocate_frame(secp256k1_scratch* scratch, size_t n, size_t objects);
2323
+int secp256k1_scratch_allocate_frame(secp256k1_scratch* scratch, size_t n, size_t objects);
24-
24+
2525
/** Deallocates a stack frame */
2626
-static void secp256k1_scratch_deallocate_frame(secp256k1_scratch* scratch);
2727
+void secp256k1_scratch_deallocate_frame(secp256k1_scratch* scratch);
28-
28+
2929
/** Returns the maximum allocation the scratch space will allow */
3030
-static size_t secp256k1_scratch_max_allocation(const secp256k1_scratch* scratch, size_t n_objects);
3131
+size_t secp256k1_scratch_max_allocation(const secp256k1_scratch* scratch, size_t n_objects);
32-
32+
3333
/** Returns a pointer into the most recently allocated frame, or NULL if there is insufficient available space */
3434
-static void *secp256k1_scratch_alloc(secp256k1_scratch* scratch, size_t n);
3535
+void *secp256k1_scratch_alloc(secp256k1_scratch* scratch, size_t n);
36-
37-
#endif
36+
37+
#endif

0 commit comments

Comments
 (0)