summaryrefslogtreecommitdiffstats
path: root/src/ffts_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ffts_internal.h')
-rw-r--r--src/ffts_internal.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ffts_internal.h b/src/ffts_internal.h
index 60de539..18b3bd5 100644
--- a/src/ffts_internal.h
+++ b/src/ffts_internal.h
@@ -79,7 +79,8 @@
#define M_PI 3.1415926535897932384626433832795028841971693993751058209
#endif
-typedef void (*transform_func_t)(ffts_plan_t *p, const void *in, void *out);
+struct _ffts_plan_t;
+typedef void (*transform_func_t)(struct _ffts_plan_t *p, const void *in, void *out);
/**
* Contains all the Information need to perform FFT
@@ -172,7 +173,7 @@ struct _ffts_plan_t {
* to clean up the plan after use
* (differs for real and multi dimension transforms
*/
- void (*destroy)(ffts_plan_t *);
+ void (*destroy)(struct _ffts_plan_t *);
/**
* Coefficiants for the real valued transforms
OpenPOWER on IntegriCloud