summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libsigrokdecode.h4
-rw-r--r--type_decoder.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/libsigrokdecode.h b/libsigrokdecode.h
index db06d43..f043036 100644
--- a/libsigrokdecode.h
+++ b/libsigrokdecode.h
@@ -271,10 +271,6 @@ struct srd_pd_callback {
typedef struct {
PyObject_HEAD
-} srd_Decoder;
-
-typedef struct {
- PyObject_HEAD
struct srd_decoder_inst *di;
uint64_t start_samplenum;
unsigned int itercnt;
diff --git a/type_decoder.c b/type_decoder.c
index f64f849..11c8ec0 100644
--- a/type_decoder.c
+++ b/type_decoder.c
@@ -22,6 +22,10 @@
#include "config.h"
#include <inttypes.h>
+typedef struct {
+ PyObject_HEAD
+} srd_Decoder;
+
/* This is only used for nicer srd_dbg() output. */
static const char *OUTPUT_TYPES[] = {
"OUTPUT_ANN",