From: Uwe Hermann Date: Sat, 25 Jul 2015 14:59:04 +0000 (+0200) Subject: ols: Don't #include directly. X-Git-Tag: libsigrok-0.4.0~458 X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=commitdiff_plain;h=a394bd28136cad6536f6eab09803ae6f3fa9cb68 ols: Don't #include directly. The driver is not using sp_* calls directly, so no need to #include the header file. --- diff --git a/src/hardware/openbench-logic-sniffer/api.c b/src/hardware/openbench-logic-sniffer/api.c index 4abc929a..283d019c 100644 --- a/src/hardware/openbench-logic-sniffer/api.c +++ b/src/hardware/openbench-logic-sniffer/api.c @@ -17,7 +17,6 @@ * along with this program. If not, see . */ -#include #include "protocol.h" #define SERIALCOMM "115200/8n1" diff --git a/src/hardware/openbench-logic-sniffer/protocol.c b/src/hardware/openbench-logic-sniffer/protocol.c index 9082ec18..75e0c8a6 100644 --- a/src/hardware/openbench-logic-sniffer/protocol.c +++ b/src/hardware/openbench-logic-sniffer/protocol.c @@ -17,7 +17,6 @@ * along with this program. If not, see . */ -#include #include "protocol.h" extern SR_PRIV struct sr_dev_driver ols_driver_info;