[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/9] Cleanup device includes
From: |
Ladislav Michl |
Subject: |
[PATCH 2/9] Cleanup device includes |
Date: |
Sat, 25 Jan 2020 10:44:50 +0100 |
Device include files now do not need to include anything but gnokii.h
---
include/devices/linuxirda.h | 1 -
include/devices/serial.h | 2 --
include/devices/tcp.h | 2 --
include/devices/unixbluetooth.h | 2 --
4 files changed, 7 deletions(-)
diff --git a/include/devices/linuxirda.h b/include/devices/linuxirda.h
index 25cdc1a9..d3913941 100644
--- a/include/devices/linuxirda.h
+++ b/include/devices/linuxirda.h
@@ -36,7 +36,6 @@
#ifndef __gnokii_linuxirda_h
#define __gnokii_linuxirda_h
-#include "config.h"
#include "compat.h"
/* Hint bit positions for first hint byte */
diff --git a/include/devices/serial.h b/include/devices/serial.h
index cb56a823..320b37e7 100644
--- a/include/devices/serial.h
+++ b/include/devices/serial.h
@@ -13,8 +13,6 @@
#ifndef __devices_serial_h
#define __devices_serial_h
-#include "compat.h"
-#include "misc.h"
#include "gnokii.h"
int serial_open(const char *file, int oflag);
diff --git a/include/devices/tcp.h b/include/devices/tcp.h
index 0e3786e7..6226e734 100644
--- a/include/devices/tcp.h
+++ b/include/devices/tcp.h
@@ -13,8 +13,6 @@
#ifndef __devices_tcp_h
#define __devices_tcp_h
-#include "compat.h"
-#include "misc.h"
#include "gnokii.h"
int tcp_opendevice(const char *file, int with_async, struct gn_statemachine
*state);
diff --git a/include/devices/unixbluetooth.h b/include/devices/unixbluetooth.h
index 81cad19b..db4171e9 100644
--- a/include/devices/unixbluetooth.h
+++ b/include/devices/unixbluetooth.h
@@ -14,8 +14,6 @@
#ifndef _gnokii_unix_bluetooth_h
#define _gnokii_unix_bluetooth_h
-#include "compat.h"
-#include "misc.h"
#include "gnokii.h"
int bluetooth_open(const char *addr, uint8_t channel, struct gn_statemachine
*state);
--
2.25.0
- [PATCH 0/9] Refactor devices build, Ladislav Michl, 2020/01/25
- [PATCH 1/9] Move device_script into separate file, Ladislav Michl, 2020/01/25
- [PATCH 2/9] Cleanup device includes,
Ladislav Michl <=
- [PATCH 3/9] configure.ac: do not mix library and device support checks, Ladislav Michl, 2020/01/25
- [PATCH 4/9] Remove nowhere used device_reset(), Ladislav Michl, 2020/01/25
- [PATCH 5/9] Remove misleading comments from tcp device, Ladislav Michl, 2020/01/25
- [PATCH 6/9] dku2libusb: move definitions into C file, Ladislav Michl, 2020/01/25
- [PATCH 7/9] dku2libusb: whitespace cleanup, Ladislav Michl, 2020/01/25
- [PATCH 8/9] libfunctions: reimplement gn_lib_is_connectiontype_supported, Ladislav Michl, 2020/01/25
- [PATCH 9/9] Refactor devices build, Ladislav Michl, 2020/01/25
- Re: [PATCH 0/9] Refactor devices build, Pawel Kot, 2020/01/26