summaryrefslogtreecommitdiff
path: root/controller.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-02-02 09:28:56 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-02-02 09:28:56 +0100
commitbb590e071c0f6554695334b5da804c75267541fb (patch)
treebe97e8e90ad4c326c78d5c286e609316f9fcb810 /controller.c
parent7f7ea759ebdc854beb0468b410f7d2382f291a4f (diff)
downloadlibsigrokdecode-bb590e071c0f6554695334b5da804c75267541fb.tar.gz
libsigrokdecode-bb590e071c0f6554695334b5da804c75267541fb.zip
srd: Add explicit srd_pd_output_callback_t typedef.
Diffstat (limited to 'controller.c')
-rw-r--r--controller.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/controller.c b/controller.c
index d7d3faf..d5bab5b 100644
--- a/controller.c
+++ b/controller.c
@@ -690,8 +690,7 @@ int srd_session_feed(uint64_t start_samplenum, uint8_t *inbuf, uint64_t inbuflen
return SRD_OK;
}
-
-int srd_register_callback(int output_type, void *cb)
+int srd_register_callback(int output_type, srd_pd_output_callback_t cb)
{
struct srd_pd_callback *pd_cb;