]> sigrok.org Git - libsigrok.git/commitdiff
sysclk-lwla: Declare model_info structs as extern
authorDaniel Elstner <redacted>
Mon, 14 Dec 2015 20:47:46 +0000 (21:47 +0100)
committerDaniel Elstner <redacted>
Tue, 22 Dec 2015 15:08:18 +0000 (16:08 +0100)
This fixes bug 714.

src/hardware/sysclk-lwla/protocol.h

index 9e04100ba827a62511995d1838df03141e5b194f..e8a66cf3e4821ea2396c1920166bf96f13a70d6f 100644 (file)
@@ -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);