aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@frijolero.org>2012-01-18 18:00:48 -0800
committerLuis R. Rodriguez <mcgrof@frijolero.org>2012-01-18 18:00:48 -0800
commit63ff7a25357b2ab0ce89a46794f9ee4ff2c2508d (patch)
treea69a1dd89955ca3edecfbd0cd9179d503578786f
parent501f6913bb889f684d33ef8206aefed08fe03e01 (diff)
downloadcrda-63ff7a25357b2ab0ce89a46794f9ee4ff2c2508d.tar.gz
crda: clean header files
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>
-rw-r--r--crda.c3
-rw-r--r--intersect.c3
-rw-r--r--regdbdump.c3
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)