X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=source%2Fdrv-protocol.c;h=75ab353e3781ff5e636583acae9684e7000f0150;hb=58c70ebbae210c4e961996d855d1102654f9171c;hp=34f9183b7b800bc92fcda0f9ea7d38fc73dcb6f4;hpb=01636a052d1b2a294b4617f302dec75427551d50;p=sigrok-util.git diff --git a/source/drv-protocol.c b/source/drv-protocol.c index 34f9183..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,14 +17,12 @@ * along with this program. If not, see . */ -#include -#include -#include "libsigrok.h" -#include "libsigrok-internal.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;