mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 09:12:24 +00:00
bigdivmod() is unreferenced outside this file. Make it static.
diagbn() is unreferenced. #if it out. [originally from svn r2477]
This commit is contained in:
parent
014a402b9d
commit
8b3b85fc5b
4
sshbn.c
4
sshbn.c
@ -406,7 +406,7 @@ Bignum modmul(Bignum p, Bignum q, Bignum mod)
|
|||||||
* We optionally write out a quotient if `quotient' is non-NULL.
|
* We optionally write out a quotient if `quotient' is non-NULL.
|
||||||
* We can avoid writing out the result if `result' is NULL.
|
* We can avoid writing out the result if `result' is NULL.
|
||||||
*/
|
*/
|
||||||
void bigdivmod(Bignum p, Bignum mod, Bignum result, Bignum quotient)
|
static void bigdivmod(Bignum p, Bignum mod, Bignum result, Bignum quotient)
|
||||||
{
|
{
|
||||||
unsigned short *n, *m;
|
unsigned short *n, *m;
|
||||||
int mshift;
|
int mshift;
|
||||||
@ -797,6 +797,7 @@ unsigned short bignum_mod_short(Bignum number, unsigned short modulus)
|
|||||||
return (unsigned short) r;
|
return (unsigned short) r;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
void diagbn(char *prefix, Bignum md)
|
void diagbn(char *prefix, Bignum md)
|
||||||
{
|
{
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
@ -819,6 +820,7 @@ void diagbn(char *prefix, Bignum md)
|
|||||||
debug(("\n"));
|
debug(("\n"));
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Simple division.
|
* Simple division.
|
||||||
|
Loading…
Reference in New Issue
Block a user