From: Uwe Hermann Date: Fri, 28 Dec 2012 16:13:20 +0000 (+0100) Subject: ols: Add missing 'extern'. X-Git-Tag: dsupstream~401 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=2239728c43aa12bcac66613bb4c84e745836d19d;p=libsigrok.git ols: Add missing 'extern'. --- diff --git a/hardware/openbench-logic-sniffer/protocol.c b/hardware/openbench-logic-sniffer/protocol.c index 813c5083..a438bb8b 100644 --- a/hardware/openbench-logic-sniffer/protocol.c +++ b/hardware/openbench-logic-sniffer/protocol.c @@ -19,7 +19,7 @@ #include "protocol.h" -SR_PRIV struct sr_dev_driver ols_driver_info; +extern SR_PRIV struct sr_dev_driver ols_driver_info; static struct sr_dev_driver *di = &ols_driver_info; SR_PRIV int send_shortcommand(struct sr_serial_dev_inst *serial,