To support this change, turn on lots more compiler warnings, and fix all the warnings generated.
Showing the changes to src/FFT.c (1 of 93 files). Show all
Unified · Split
| @@ -62,7 +62,7 @@ const int MaxFastBits = 16; · 61 unmodified lines | |||
| 62 | static int IsPowerOfTwo(int x); | 62 | static int IsPowerOfTwo(int x); |
| 63 | static int NumberOfBitsNeeded(int PowerOfTwo); | 63 | static int NumberOfBitsNeeded(int PowerOfTwo); |
| 64 | static int ReverseBits(int index, int NumBits); | 64 | static int ReverseBits(int index, int NumBits); |
| 65 | static void InitFFT(); | 65 | static void InitFFT(void); |
| 66 | 66 | ||
| 67 | int IsPowerOfTwo(int x) | 67 | int IsPowerOfTwo(int x) |
| 68 | { | 68 | { |
| @@ -103,7 +103,7 @@ int ReverseBits(int index, int NumBits) · 34 unmodified lines | |||
| 103 | * freed, to use as a lookup table for bit-reversal. The good news is that | 103 | * freed, to use as a lookup table for bit-reversal. The good news is that |
| 104 | * we bascially need this until the very end, so the fact that it's not freed | 104 | * we bascially need this until the very end, so the fact that it's not freed |
| 105 | * is OK. */ | 105 | * is OK. */ |
| 106 | void InitFFT() | 106 | void InitFFT(void) |
| 107 | { | 107 | { |
| 108 | int len, b; | 108 | int len, b; |
| 109 | 109 | ||