Search Linux Wireless

[RFC 08/11] crda: clean header files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Remove unused headers now that we have an object
(soon to be library) using what it has to separately.

Signed-off-by: Luis R. Rodriguez <mcgrof@xxxxxxxxxxxxx>
---
 crda.c      |    3 ---
 intersect.c |    3 ---
 regdbdump.c |    3 ---
 3 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/crda.c b/crda.c
index 344fd60..c6dc3d4 100644
--- a/crda.c
+++ b/crda.c
@@ -6,8 +6,6 @@
 
 #include <errno.h>
 #include <stdio.h>
-#include <sys/mman.h>
-#include <sys/stat.h>
 #include <fcntl.h>
 #include <arpa/inet.h>
 #include <unistd.h>
@@ -19,7 +17,6 @@
 #include <netlink/attr.h>
 #include "nl80211.h"
 
-#include "regdb.h"
 #include "reglib.h"
 
 #if !defined(CONFIG_LIBNL20) && !defined(CONFIG_LIBNL30) && !defined(CONFIG_LIBNL32)
diff --git a/intersect.c b/intersect.c
index 6d3d393..012750d 100644
--- a/intersect.c
+++ b/intersect.c
@@ -1,9 +1,6 @@
 #include <errno.h>
 #include <stdlib.h>
 #include <stdio.h>
-#include <sys/mman.h>
-#include <sys/stat.h>
-#include <fcntl.h>
 #include <arpa/inet.h> /* ntohl */
 #include <string.h>
 
diff --git a/regdbdump.c b/regdbdump.c
index 6d4cf56..6f9592a 100644
--- a/regdbdump.c
+++ b/regdbdump.c
@@ -1,7 +1,4 @@
-#include <errno.h>
 #include <stdio.h>
-
-#include "regdb.h"
 #include "reglib.h"
 
 int main(int argc, char **argv)
-- 
1.7.4.15.g7811d

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux