aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamie Bullock <jamie@jamiebullock.com>2014-06-05 20:31:33 +0100
committerJamie Bullock <jamie@jamiebullock.com>2014-06-05 20:31:33 +0100
commit0c54ec464079b450e07abe57be680ab88249b76a (patch)
tree5fca4edfda8e3fe054bf1dbc0ef83b5c9da429ec
parentd4c054abb709b3e4bbfa383209996e07d37e84c3 (diff)
downloadLibXtract-0c54ec464079b450e07abe57be680ab88249b76a.tar.gz
LibXtract-0c54ec464079b450e07abe57be680ab88249b76a.tar.bz2
LibXtract-0c54ec464079b450e07abe57be680ab88249b76a.zip
Fix broken xtract_stateful.h
-rw-r--r--xtract/xtract_stateful.h7
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