summaryrefslogtreecommitdiff
path: root/sigrokdecode.h
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-02-29 21:56:24 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-03-01 23:49:25 +0100
commit4c1d067068fdb9e5f723b3548bddb64e0b06fc36 (patch)
tree1bd8b19af22430de662bf5003b21a1fdc825d056 /sigrokdecode.h
parent1b75abfdd3e00ef590c9d1905863f6f2cb5a8632 (diff)
downloadlibsigrokdecode-4c1d067068fdb9e5f723b3548bddb64e0b06fc36.tar.gz
libsigrokdecode-4c1d067068fdb9e5f723b3548bddb64e0b06fc36.zip
sr/srd: Consistency fixes for callbacks.
- Callback function pointer typedefs end with _t. - Variables holding callback functions are named 'cb' everywhere.
Diffstat (limited to 'sigrokdecode.h')
-rw-r--r--sigrokdecode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sigrokdecode.h b/sigrokdecode.h
index 649cdc6..b70dace 100644
--- a/sigrokdecode.h
+++ b/sigrokdecode.h
@@ -178,7 +178,7 @@ typedef void (*srd_pd_output_callback_t)(struct srd_proto_data *pdata,
struct srd_pd_callback {
int output_type;
- srd_pd_output_callback_t callback;
+ srd_pd_output_callback_t cb;
void *user_data;
};