summaryrefslogtreecommitdiff
path: root/controller.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-01-10 20:44:22 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-01-10 21:00:14 +0100
commit94d43b37bd34263f5ed9f7135aac5fe7413c7f07 (patch)
tree5edf11ef2b00343a10f4897cb34d378a9dfdc084 /controller.c
parent6b741b128c9838d2c417e56a6e8b5d377467a3ff (diff)
downloadlibsigrokdecode-94d43b37bd34263f5ed9f7135aac5fe7413c7f07.tar.gz
libsigrokdecode-94d43b37bd34263f5ed9f7135aac5fe7413c7f07.zip
srd: Finish consistency rename to ANN/PROTO.
Diffstat (limited to 'controller.c')
-rw-r--r--controller.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/controller.c b/controller.c
index 20364f7..07bf6f2 100644
--- a/controller.c
+++ b/controller.c
@@ -376,7 +376,7 @@ int srd_session_feed(uint64_t timeoffset, uint64_t duration, uint8_t *inbuf,
int pd_add(struct srd_decoder_instance *di, int output_type,
- char *protocol_id)
+ char *proto_id)
{
struct srd_pd_output *pdo;
@@ -387,7 +387,7 @@ int pd_add(struct srd_decoder_instance *di, int output_type,
pdo->pdo_id = g_slist_length(di->pd_output);
pdo->output_type = output_type;
pdo->decoder = di->decoder;
- pdo->protocol_id = g_strdup(protocol_id);
+ pdo->proto_id = g_strdup(proto_id);
di->pd_output = g_slist_append(di->pd_output, pdo);
return pdo->pdo_id;