From 0c54ec464079b450e07abe57be680ab88249b76a Mon Sep 17 00:00:00 2001 From: Jamie Bullock Date: Thu, 5 Jun 2014 20:31:33 +0100 Subject: Fix broken xtract_stateful.h --- xtract/xtract_stateful.h | 7 +++---- 1 file 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 #include -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 -- cgit v1.2.3