summaryrefslogtreecommitdiffstats
path: root/chipset_enable.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-06-21 23:20:15 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-06-21 23:20:15 +0000
commitdcef67e46875f9600c39716c2ac8b843bb86429c (patch)
tree21e5b1ed74666095913b80cbb08fb0a822bf14ba /chipset_enable.c
parentc96a8bd458a985fdc2ffe299482dfb353728dbd1 (diff)
downloadflashrom-dcef67e46875f9600c39716c2ac8b843bb86429c.tar.gz
flashrom-dcef67e46875f9600c39716c2ac8b843bb86429c.tar.bz2
flashrom-dcef67e46875f9600c39716c2ac8b843bb86429c.zip
Kill unneeded #include wherever possible
Tested on Linux, FreeBSD, NetBSD, OpenBSD, DOS. Thanks to Jonathan A. Kollasch and Idwer Vollering for testing. Corresponding to flashrom svn r1057. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Idwer Vollering <vidwer+lists.flashrom@gmail.com>
Diffstat (limited to 'chipset_enable.c')
-rw-r--r--chipset_enable.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/chipset_enable.c b/chipset_enable.c
index 02d139e7d..d12429154 100644
--- a/chipset_enable.c
+++ b/chipset_enable.c
@@ -27,12 +27,10 @@
#define _LARGEFILE64_SOURCE
-#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
+#include <unistd.h>
#include "flash.h"
#if defined(__i386__) || defined(__x86_64__)