From: Daniel Elstner Date: Mon, 14 Dec 2015 20:47:46 +0000 (+0100) Subject: sysclk-lwla: Declare model_info structs as extern X-Git-Tag: libsigrok-0.4.0~67 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=ef7df53d3609413341b521ab64f223f80e49a01a;p=libsigrok.git sysclk-lwla: Declare model_info structs as extern This fixes bug 714. --- diff --git a/src/hardware/sysclk-lwla/protocol.h b/src/hardware/sysclk-lwla/protocol.h index 9e04100b..e8a66cf3 100644 --- a/src/hardware/sysclk-lwla/protocol.h +++ b/src/hardware/sysclk-lwla/protocol.h @@ -162,8 +162,8 @@ struct model_info { int (*handle_response)(const struct sr_dev_inst *sdi); }; -SR_PRIV const struct model_info lwla1016_info; -SR_PRIV const struct model_info lwla1034_info; +extern SR_PRIV const struct model_info lwla1016_info; +extern SR_PRIV const struct model_info lwla1034_info; SR_PRIV int lwla_start_acquisition(const struct sr_dev_inst *sdi);