summaryrefslogtreecommitdiff
path: root/gr-fft
diff options
context:
space:
mode:
Diffstat (limited to 'gr-fft')
-rw-r--r--gr-fft/include/gnuradio/fft/fft.h8
-rw-r--r--gr-fft/lib/fft.cc10
2 files changed, 0 insertions, 18 deletions
diff --git a/gr-fft/include/gnuradio/fft/fft.h b/gr-fft/include/gnuradio/fft/fft.h
index 749a5e874c..a553e6c72b 100644
--- a/gr-fft/include/gnuradio/fft/fft.h
+++ b/gr-fft/include/gnuradio/fft/fft.h
@@ -41,14 +41,6 @@ namespace fft {
*/
FFT_API gr_complex* malloc_complex(int size);
-/*! \brief Helper function for allocating float* buffers
- */
-FFT_API float* malloc_float(int size);
-
-/*! \brief Helper function for allocating double* buffers
- */
-FFT_API double* malloc_double(int size);
-
/*! \brief Helper function for freeing fft buffers
* TODO: Remove once the single user of this stops using it.
*/
diff --git a/gr-fft/lib/fft.cc b/gr-fft/lib/fft.cc
index c48fb6dc47..c9c9f31990 100644
--- a/gr-fft/lib/fft.cc
+++ b/gr-fft/lib/fft.cc
@@ -65,16 +65,6 @@ gr_complex* malloc_complex(int size)
return (gr_complex*)volk_malloc(sizeof(gr_complex) * size, volk_get_alignment());
}
-float* malloc_float(int size)
-{
- return (float*)volk_malloc(sizeof(float) * size, volk_get_alignment());
-}
-
-double* malloc_double(int size)
-{
- return (double*)volk_malloc(sizeof(double) * size, volk_get_alignment());
-}
-
void free(void* b) { volk_free(b); }
boost::mutex& planner::mutex()