See patch.

-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: [email protected]http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866

Remove duplicate includes from the code.

Signed-off-by: Stefan Reinauer <[email protected]>

Index: hwaccess.c
===================================================================
--- hwaccess.c  (revision 1182)
+++ hwaccess.c  (working copy)
@@ -18,10 +18,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#include <stdint.h>
 #include <string.h>
 #include <stdlib.h>
-#include <sys/types.h>
 #if !defined (__DJGPP__)
 #include <unistd.h>
 #include <fcntl.h>
Index: hwaccess.h
===================================================================
--- hwaccess.h  (revision 1182)
+++ hwaccess.h  (working copy)
@@ -252,7 +252,6 @@
       #define iopl amd64_iopl
     #endif
 #endif
-  #include <stdint.h>
 
 static inline void outb(uint8_t value, uint16_t port)
 {
Index: pcidev.c
===================================================================
--- pcidev.c    (revision 1182)
+++ pcidev.c    (working copy)
@@ -20,7 +20,6 @@
 
 #include <stdlib.h>
 #include <string.h>
-#include <sys/types.h>
 #include "flash.h"
 #include "programmer.h"
 
Index: gfxnvidia.c
===================================================================
--- gfxnvidia.c (revision 1182)
+++ gfxnvidia.c (working copy)
@@ -20,7 +20,6 @@
 
 #include <stdlib.h>
 #include <string.h>
-#include <sys/types.h>
 #include "flash.h"
 #include "programmer.h"
 
Index: bitbang_spi.c
===================================================================
--- bitbang_spi.c       (revision 1182)
+++ bitbang_spi.c       (working copy)
@@ -18,7 +18,6 @@
  */
 
 #include <stdio.h>
-#include <stdint.h>
 #include <string.h>
 #include <stdlib.h>
 #include <ctype.h>
Index: serprog.c
===================================================================
--- serprog.c   (revision 1182)
+++ serprog.c   (working copy)
@@ -25,7 +25,6 @@
 #include <string.h>
 #include <ctype.h>
 #include <fcntl.h>
-#include <sys/types.h>
 #include <sys/socket.h>
 #include <arpa/inet.h>
 #include <netinet/in.h>
Index: dummyflasher.c
===================================================================
--- dummyflasher.c      (revision 1182)
+++ dummyflasher.c      (working copy)
@@ -21,7 +21,6 @@
 #include <string.h>
 #include <stdlib.h>
 #include <ctype.h>
-#include <sys/types.h>
 #include "flash.h"
 #include "chipdrivers.h"
 #include "programmer.h"
Index: cli_classic.c
===================================================================
--- cli_classic.c       (revision 1182)
+++ cli_classic.c       (working copy)
@@ -23,7 +23,6 @@
 
 #include <stdio.h>
 #include <fcntl.h>
-#include <sys/types.h>
 #include <sys/stat.h>
 #include <string.h>
 #include <stdlib.h>
Index: internal.c
===================================================================
--- internal.c  (revision 1182)
+++ internal.c  (working copy)
@@ -18,10 +18,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#include <stdint.h>
 #include <string.h>
 #include <stdlib.h>
-#include <sys/types.h>
 #include "flash.h"
 #include "programmer.h"
 
Index: cbtable.c
===================================================================
--- cbtable.c   (revision 1182)
+++ cbtable.c   (working copy)
@@ -25,7 +25,6 @@
 #include <unistd.h>
 #include <stdio.h>
 #include <stdlib.h>
-#include <sys/types.h>
 #include <string.h>
 #include "flash.h"
 #include "programmer.h"
Index: buspirate_spi.c
===================================================================
--- buspirate_spi.c     (revision 1182)
+++ buspirate_spi.c     (working copy)
@@ -18,7 +18,6 @@
  */
 
 #include <stdio.h>
-#include <stdint.h>
 #include <string.h>
 #include <stdlib.h>
 #include <ctype.h>
Index: serial.c
===================================================================
--- serial.c    (revision 1182)
+++ serial.c    (working copy)
@@ -25,7 +25,6 @@
 #include <string.h>
 #include <ctype.h>
 #include <fcntl.h>
-#include <sys/types.h>
 #include <sys/stat.h>
 #include <errno.h>
 #include <inttypes.h>
Index: atahpt.c
===================================================================
--- atahpt.c    (revision 1182)
+++ atahpt.c    (working copy)
@@ -20,7 +20,6 @@
 
 #include <stdlib.h>
 #include <string.h>
-#include <sys/types.h>
 #include "flash.h"
 #include "programmer.h"
 
Index: physmap.c
===================================================================
--- physmap.c   (revision 1182)
+++ physmap.c   (working copy)
@@ -22,7 +22,6 @@
 
 #include <unistd.h>
 #include <stdio.h>
-#include <sys/types.h>
 #include <stdlib.h>
 #include <string.h>
 #include "flash.h"
@@ -106,8 +105,6 @@
 
 #elif defined(__DARWIN__)
 
-#include <DirectIO/darwinio.h>
-
 #define MEM_DEV "DirectIO"
 
 static void *sys_physmap(unsigned long phys_addr, size_t len)
Index: ft2232_spi.c
===================================================================
--- ft2232_spi.c        (revision 1182)
+++ ft2232_spi.c        (working copy)
@@ -21,7 +21,6 @@
 #if CONFIG_FT2232_SPI == 1
 
 #include <stdio.h>
-#include <stdint.h>
 #include <string.h>
 #include <stdlib.h>
 #include <ctype.h>
Index: chipset_enable.c
===================================================================
--- chipset_enable.c    (revision 1182)
+++ chipset_enable.c    (working copy)
@@ -29,7 +29,6 @@
 
 #include <stdlib.h>
 #include <string.h>
-#include <sys/types.h>
 #include <unistd.h>
 #include "flash.h"
 #include "programmer.h"
Index: mcp6x_spi.c
===================================================================
--- mcp6x_spi.c (revision 1182)
+++ mcp6x_spi.c (working copy)
@@ -25,7 +25,6 @@
 
 #if defined(__i386__) || defined(__x86_64__)
 
-#include <stdint.h>
 #include <stdlib.h>
 #include <ctype.h>
 #include "flash.h"
Index: flashrom.c
===================================================================
--- flashrom.c  (revision 1182)
+++ flashrom.c  (working copy)
@@ -23,7 +23,6 @@
 
 #include <stdio.h>
 #include <fcntl.h>
-#include <sys/types.h>
 #include <sys/stat.h>
 #include <string.h>
 #include <stdlib.h>
_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to