X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-util.git;a=blobdiff_plain;f=source%2Fdrv-protocol.c;h=75ab353e3781ff5e636583acae9684e7000f0150;hp=f89474470cdc01a06e2adef59b3f7e1b7373547f;hb=5c100b148be923f92c383b9fb233dfb4ba3b790e;hpb=a65d66c08881d65a6d6e37be8efc1a24e4f60592 diff --git a/source/drv-protocol.c b/source/drv-protocol.c index f894744..75ab353 100644 --- a/source/drv-protocol.c +++ b/source/drv-protocol.c @@ -1,5 +1,5 @@ /* - * This file is part of the sigrok project. + * This file is part of the libsigrok project. * * Copyright (C) ${year} ${author} <${email}> * @@ -17,16 +17,12 @@ * along with this program. If not, see . */ -#include -#include "libsigrok.h" -#include "libsigrok-internal.h" -#include "config.h" #include "protocol.h" -#include - 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; @@ -37,7 +33,7 @@ SR_PRIV int ${lib}_receive_data(int fd, int revents, void *cb_data) return TRUE; if (revents == G_IO_IN) { - /* TODO */ + /* TODO */ } return TRUE;