[PATCH] mpi: Fix redefinition of types.

NIIBE Yutaka via Gcrypt-devel <[email protected]> Tue, 12 Aug 2025 16:29:21 +0900
Newsgroups gmane.comp.encryption.gpg.libgcrypt.devel
Message-ID <85927387741fad2aba4f8cc01e3b10ff4ff4c57f.1754983732.git.gniibe@fsij.org>
* mpi/mpi-internal.h (mpi_ptr_t): Remove, as it moved to mpi.h.
(mpi_size_t): Likewise.

--

Fixes-commit: 88ae76d069c331ad947ecab8419df9a00f979b0e
GnuPG-bug-id: 7775
Signed-off-by: NIIBE Yutaka <[email protected]>
---
 mpi/mpi-internal.h | 3 ---
 1 file changed, 3 deletions(-)

_______________________________________________
Gcrypt-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gcrypt-devel
0001-mpi-Fix-redefinition-of-types.patch (text/x-patch, 403 B)
diff --git a/mpi/mpi-internal.h b/mpi/mpi-internal.h
index cdbd00a9..f18170fe 100644
--- a/mpi/mpi-internal.h
+++ b/mpi/mpi-internal.h
@@ -69,9 +69,6 @@
 #endif
 
 
-typedef mpi_limb_t *mpi_ptr_t; /* pointer to a limb */
-typedef int mpi_size_t;        /* (must be a signed type) */
-
 #define ABS(x) (x >= 0 ? x : -x)
 #define MIN(l,o) ((l) < (o) ? (l) : (o))
 #define MAX(h,i) ((h) > (i) ? (h) : (i))