From ea932d59b3071ce00f9e510aad014ad64a3dc48c Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Tue, 30 Apr 2013 23:00:34 +0100 Subject: [PATCH] mpmul.[ch]: Move internal `HWM' and `LWM' constants to implementation. No idea what I was thinking when I put them in the public header file. --- mpmul.c | 3 +++ mpmul.h | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mpmul.c b/mpmul.c index 0b597f4..1f932b0 100644 --- a/mpmul.c +++ b/mpmul.c @@ -61,6 +61,9 @@ void mpmul_init(mpmul *b) * context; this sort of rules out @mp_build@ integers. */ +#define HWM (MPMUL_DEPTH - 20) +#define LWM (MPMUL_DEPTH / 2) + void mpmul_add(mpmul *b, mp *x) { size_t i = b->i; diff --git a/mpmul.h b/mpmul.h index ecd7b3a..bd1f156 100644 --- a/mpmul.h +++ b/mpmul.h @@ -74,9 +74,6 @@ #define MPMUL_DEPTH (2 * (CHAR_BIT * sizeof(size_t) + 10)) -#define HWM (MPMUL_DEPTH - 20) -#define LWM (MPMUL_DEPTH / 2) - /*----- Data structures ---------------------------------------------------*/ typedef struct mpmul { -- 2.11.0