Fix warnings.

This commit is contained in:
Ben Laurie 2010-02-28 13:37:15 +00:00
parent bab19a2ac2
commit ed4cd027f3
2 changed files with 9 additions and 2 deletions

View File

@ -59,6 +59,7 @@
#undef mul #undef mul
#undef mul_add #undef mul_add
#undef sqr
/* /*
* "m"(a), "+m"(r) is the way to favor DirectPath µ-code; * "m"(a), "+m"(r) is the way to favor DirectPath µ-code;

View File

@ -337,7 +337,10 @@ X) -> 0x%08X\n",
t2 -= d1; t2 -= d1;
} }
#else /* !BN_LLONG */ #else /* !BN_LLONG */
BN_ULONG t2l,t2h,ql,qh; BN_ULONG t2l,t2h;
#if !defined(BN_UMULT_LOHI) && !defined(BN_UMULT_HIGH)
BN_ULONG ql,qh;
#endif
q=bn_div_words(n0,n1,d0); q=bn_div_words(n0,n1,d0);
#ifdef BN_DEBUG_LEVITTE #ifdef BN_DEBUG_LEVITTE
@ -561,7 +564,10 @@ X) -> 0x%08X\n",
t2 -= d1; t2 -= d1;
} }
#else /* !BN_LLONG */ #else /* !BN_LLONG */
BN_ULONG t2l,t2h,ql,qh; BN_ULONG t2l,t2h;
#if !defined(BN_UMULT_LOHI) && !defined(BN_UMULT_HIGH)
BN_ULONG ql,qh;
#endif
q=bn_div_words(n0,n1,d0); q=bn_div_words(n0,n1,d0);
#ifdef BN_DEBUG_LEVITTE #ifdef BN_DEBUG_LEVITTE