summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt6
-rw-r--r--src/ffts.c1
-rw-r--r--src/ffts_internal.h10
3 files changed, 10 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4adbb64..05b7d2e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -60,9 +60,14 @@ if(CMAKE_COMPILER_IS_GNUCC)
endif(HAVE_LIBM)
endif(CMAKE_COMPILER_IS_GNUCC)
+include_directories(include)
include_directories(src)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
+set(FFTS_HEADERS
+ include/ffts.h
+)
+
set(FFTS_SOURCES
src/ffts_attributes.h
src/ffts.c
@@ -168,6 +173,7 @@ else()
endif()
add_library(ffts_static
+ ${FFTS_HEADERS}
${FFTS_SOURCES}
)
diff --git a/src/ffts.c b/src/ffts.c
index 545138b..ee0102b 100644
--- a/src/ffts.c
+++ b/src/ffts.c
@@ -31,6 +31,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "ffts.h"
#include "ffts_internal.h"
#include "macros.h"
#include "patterns.h"
diff --git a/src/ffts_internal.h b/src/ffts_internal.h
index a8e27b8..68a08db 100644
--- a/src/ffts_internal.h
+++ b/src/ffts_internal.h
@@ -31,8 +31,8 @@
*/
-#ifndef __CP_SSE_H__
-#define __CP_SSE_H__
+#ifndef FFTS_INTERNAL_H
+#define FFTS_INTERNAL_H
//#include "config.h"
//#include "codegen.h"
@@ -231,8 +231,4 @@ static FFTS_ALWAYS_INLINE float W_im(float N, float k)
return sin(-2.0 * M_PI * k / N);
}
-void ffts_free(ffts_plan_t *);
-void ffts_execute(ffts_plan_t *, const void *, void *);
-ffts_plan_t *ffts_init_1d(size_t N, int sign);
-
-#endif
+#endif /* FFTS_INTERNAL_H */
OpenPOWER on IntegriCloud