[Gmp-commit] /var/hg/gmp: (mpn_fft_best_k): Don't make pointers `static' just...

mercurial at gmplib.org mercurial at gmplib.org
Tue Mar 24 16:56:23 UTC 2015


details:   /var/hg/gmp/rev/cbcf1a651748
changeset: 16562:cbcf1a651748
user:      Torbjorn Granlund <torbjorng at google.com>
date:      Tue Mar 24 17:56:17 2015 +0100
description:
(mpn_fft_best_k): Don't make pointers `static' just because they point to static (i.e., file-local) data.

diffstat:

 mpn/generic/mul_fft.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 5f341fc901b1 -r cbcf1a651748 mpn/generic/mul_fft.c
--- a/mpn/generic/mul_fft.c	Wed Mar 18 19:33:02 2015 +0100
+++ b/mpn/generic/mul_fft.c	Tue Mar 24 17:56:17 2015 +0100
@@ -114,7 +114,7 @@
 int
 mpn_fft_best_k (mp_size_t n, int sqr)
 {
-  FFT_TABLE_ATTRS struct fft_table_nk *fft_tab, *tab;
+  const struct fft_table_nk *fft_tab, *tab;
   mp_size_t tab_n, thres;
   int last_k;
 


More information about the gmp-commit mailing list