gnokii-users
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]