crda: clean header files
authorLuis R. Rodriguez <mcgrof@frijolero.org>
Thu, 19 Jan 2012 02:00:48 +0000 (18:00 -0800)
committerLuis R. Rodriguez <mcgrof@frijolero.org>
Thu, 19 Jan 2012 02:00:48 +0000 (18:00 -0800)
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@frijolero.org>
crda.c
intersect.c
regdbdump.c

diff --git a/crda.c b/crda.c
index 344fd60..c6dc3d4 100644 (file)
--- 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)
index 6d3d393..012750d 100644 (file)
@@ -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>
 
index 6d4cf56..6f9592a 100644 (file)
@@ -1,7 +1,4 @@
-#include <errno.h>
 #include <stdio.h>
-
-#include "regdb.h"
 #include "reglib.h"
 
 int main(int argc, char **argv)