diff options
-rw-r--r-- | xtract/xtract_stateful.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/xtract/xtract_stateful.h b/xtract/xtract_stateful.h index e26926d..6a5c900 100644 --- a/xtract/xtract_stateful.h +++ b/xtract/xtract_stateful.h @@ -41,8 +41,6 @@ extern "C" { #include <stdint.h> #include <string.h> -struct ringbuf_t; -typedef struct ringbuf_t *ringbuf_t; typedef struct xtract_last_n_state_ xtract_last_n_state; xtract_last_n_state *xtract_last_n_state_new(size_t capacity); @@ -61,7 +59,8 @@ void xtract_last_n_state_delete(xtract_last_n_state *last_n_state); */ int xtract_last_n(const xtract_last_n_state *state, const double *data, const int N, const void *argv, double *result); - - +#ifdef __cplusplus +} +#endif #endif |