Ticket #47189: fftlib-no-inline-prototypes.diff

File fftlib-no-inline-prototypes.diff, 2.6 KB (added by RJVB (René Bertin), 10 years ago)
  • lib-src/libnyquist/nyquist/ffts/src/fftlib.c

    diff --git a/lib-src/libnyquist/nyquist/ffts/src/fftlib.c b/lib-src/libnyquist/nyquist/ffts/src/fftlib.c
    index d832f89..6d28f29 100644
    a b for (i1 = 0; i1 < Nroot_1; i1++){ 
    6161parts of ffts1
    6262*************************************************/
    6363
    64 inline void bitrevR2(float *ioptr, long M, short *BRLow);
     64void bitrevR2(float *ioptr, long M, short *BRLow);
    6565inline void bitrevR2(float *ioptr, long M, short *BRLow){
    6666/*** bit reverse and first radix 2 stage of forward or inverse fft ***/
    6767float   f0r;
    for (SameUCnt = NSameU; SameUCnt > 0 ; SameUCnt--){ 
    512512}
    513513}
    514514
    515 inline void bfR4(float *ioptr, long M, long NDiffU);
     515void bfR4(float *ioptr, long M, long NDiffU);
    516516inline void bfR4(float *ioptr, long M, long NDiffU){
    517517/*** 1 radix 4 stage ***/
    518518unsigned long   pos;
    f4i = f4i * Two - f6i; 
    721721
    722722}
    723723
    724 inline void bfstages(float *ioptr, long M, float *Utbl, long Ustride, long NDiffU, long StageCnt);
     724void bfstages(float *ioptr, long M, float *Utbl, long Ustride, long NDiffU, long StageCnt);
    725725inline void bfstages(float *ioptr, long M, float *Utbl, long Ustride, long NDiffU, long StageCnt){
    726726/***   RADIX 8 Stages   ***/
    727727unsigned long   pos;
    default: 
    11251125parts of iffts1
    11261126*************************************************/
    11271127
    1128 inline void scbitrevR2(float *ioptr, long M, short *BRLow, float scale);
     1128void scbitrevR2(float *ioptr, long M, short *BRLow, float scale);
    11291129inline void scbitrevR2(float *ioptr, long M, short *BRLow, float scale){
    11301130/*** scaled bit reverse and first radix 2 stage forward or inverse fft ***/
    11311131float   f0r;
    for (SameUCnt = NSameU; SameUCnt > 0 ; SameUCnt--){ 
    15761576}
    15771577}
    15781578
    1579 inline void ibfR4(float *ioptr, long M, long NDiffU);
     1579void ibfR4(float *ioptr, long M, long NDiffU);
    15801580inline void ibfR4(float *ioptr, long M, long NDiffU){
    15811581/*** 1 radix 4 stage ***/
    15821582unsigned long   pos;
    f4i = f4i * Two - f6i; 
    17851785
    17861786}
    17871787
    1788 inline void ibfstages(float *ioptr, long M, float *Utbl, long Ustride, long NDiffU, long StageCnt);
     1788void ibfstages(float *ioptr, long M, float *Utbl, long Ustride, long NDiffU, long StageCnt);
    17891789inline void ibfstages(float *ioptr, long M, float *Utbl, long Ustride, long NDiffU, long StageCnt){
    17901790/***   RADIX 8 Stages   ***/
    17911791unsigned long   pos;
    ioptr[14] = scale*f6r; 
    24772477ioptr[15] = scale*f6i;
    24782478}
    24792479
    2480 inline void frstage(float *ioptr, long M, float *Utbl);
     2480void frstage(float *ioptr, long M, float *Utbl);
    24812481inline void frstage(float *ioptr, long M, float *Utbl){
    24822482/*      Finish RFFT             */
    24832483