diff options
author | nijtmans <nijtmans> | 2010-05-03 14:36:40 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-05-03 14:36:40 (GMT) |
commit | 603632160ce039289adcabac2684febc649c535b (patch) | |
tree | e5adab677558dc22434d9ee6b375a48333aea345 /libtommath/bn_mp_count_bits.c | |
parent | 091c9fee62375b69529473b975e37dc279f0bc83 (diff) | |
download | tcl-603632160ce039289adcabac2684febc649c535b.zip tcl-603632160ce039289adcabac2684febc649c535b.tar.gz tcl-603632160ce039289adcabac2684febc649c535b.tar.bz2 |
CONSTify various useful internal functions
(TclBignumToDouble, TclCeil, TclFloor), and
related tommath functions.
Diffstat (limited to 'libtommath/bn_mp_count_bits.c')
-rw-r--r-- | libtommath/bn_mp_count_bits.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libtommath/bn_mp_count_bits.c b/libtommath/bn_mp_count_bits.c index 44c0cff..909c153 100644 --- a/libtommath/bn_mp_count_bits.c +++ b/libtommath/bn_mp_count_bits.c @@ -17,7 +17,7 @@ /* returns the number of bits in an int */ int -mp_count_bits (mp_int * a) +mp_count_bits (const mp_int * a) { int r; mp_digit q; @@ -41,5 +41,5 @@ mp_count_bits (mp_int * a) #endif /* $Source: /root/tcl/repos-to-convert/tcl/libtommath/bn_mp_count_bits.c,v $ */ -/* $Revision: 1.1.1.3 $ */ -/* $Date: 2006/12/01 00:08:11 $ */ +/* $Revision: 1.2 $ */ +/* $Date: 2010/05/03 14:36:40 $ */ |