]> sigrok.org Git - sigrok-util.git/blobdiff - source/drv-protocol.c
Create bundle.sh
[sigrok-util.git] / source / drv-protocol.c
index 75ab353e3781ff5e636583acae9684e7000f0150..74f8fb81f552c8b846fcbdb5615da3974fbe37fd 100644 (file)
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <config.h>
 #include "protocol.h"
 
 SR_PRIV int ${lib}_receive_data(int fd, int revents, void *cb_data)
 {
-       (void)fd;
-
        const struct sr_dev_inst *sdi;
        struct dev_context *devc;
 
+       (void)fd;
+
        if (!(sdi = cb_data))
                return TRUE;