Package: mlgmp / 20021123-19

0005-Update-extern-declarations-for-de-serialize-function.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From: Dimitri John Ledkov <xnox@ubuntu.com>
Date: Mon, 17 Jul 2017 09:55:20 +0200
Subject: Update extern declarations for [de]serialize functions to match
 ocaml 4.04 definitions.

---
 config.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/config.h b/config.h
index d580591..55bd8c8 100644
--- a/config.h
+++ b/config.h
@@ -58,11 +58,11 @@
 #define MPFR_SIZE_ARCH32 16
 #define MPFR_SIZE_ARCH64 24
 
-extern void serialize_int_4(int32 i);
+extern void serialize_int_4(int32_t i);
 extern void serialize_block_1(void * data, long len);
 
-extern uint32 deserialize_uint_4(void);
-extern int32 deserialize_sint_4(void);
+extern uint32_t deserialize_uint_4(void);
+extern int32_t deserialize_sint_4(void);
 extern void deserialize_block_1(void * data, long len);
 
 #endif /* SERIALIZE */