Remove unused #include <errno.h>

Found with iwyu.
pull/1808/head
Daniele Forsi IU5HKX 2025-07-20 11:31:18 +02:00
rodzic b5c8e7faba
commit 2a3f603680
7 zmienionych plików z 0 dodań i 7 usunięć

Wyświetl plik

@ -23,7 +23,6 @@
#include <stdint.h>
#include <stdlib.h>
#include <math.h>
#include <errno.h>
#include "hamlib/rig.h"
#include "parallel.h"

Wyświetl plik

@ -505,7 +505,6 @@ static const char *dwtdll_get_info(RIG *rig)
#elif defined(HAVE_LIBUSB) && (defined(HAVE_LIBUSB_H) || defined(HAVE_LIBUSB_1_0_LIBUSB_H))
#include <errno.h>
#ifdef HAVE_LIBUSB_H
# include <libusb.h>

Wyświetl plik

@ -148,7 +148,6 @@ struct elektor507_extra_priv_data
#elif defined(USE_LIBUSB)
#include <errno.h>
#ifdef HAVE_LIBUSB_H
# include <libusb.h>

Wyświetl plik

@ -39,7 +39,6 @@
*/
#if defined(HAVE_LIBUSB) && (defined(HAVE_LIBUSB_H) || defined(HAVE_LIBUSB_1_0_LIBUSB_H))
#include <errno.h>
#ifdef HAVE_LIBUSB_H
# include <libusb.h>

Wyświetl plik

@ -37,7 +37,6 @@
*/
#if defined(HAVE_LIBUSB) && (defined(HAVE_LIBUSB_H) || defined(HAVE_LIBUSB_1_0_LIBUSB_H))
#include <errno.h>
#ifdef HAVE_LIBUSB_H
# include <libusb.h>

Wyświetl plik

@ -41,7 +41,6 @@
*/
#if defined(HAVE_LIBUSB) && (defined(HAVE_LIBUSB_H) || defined(HAVE_LIBUSB_1_0_LIBUSB_H))
#include <errno.h>
#ifdef HAVE_LIBUSB_H
# include <libusb.h>

Wyświetl plik

@ -36,7 +36,6 @@
*
*/
#include <unistd.h>
#include <errno.h>
#include <pthread.h>
#include "hamlib/config.h"
#include "sleep.h"