]> sigrok.org Git - sigrok-util.git/blobdiff - source/drv-protocol.c
new-driver: *.c: Only #include protocol.h.
[sigrok-util.git] / source / drv-protocol.c
index b7b359d2e8020d1e1cb1788b469c1c989360203c..75ab353e3781ff5e636583acae9684e7000f0150 100644 (file)
@@ -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}>
  *
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <stdlib.h>
-#include <glib.h>
-#include "libsigrok.h"
-#include "libsigrok-internal.h"
-#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;