Author: stepan Date: Wed Oct 6 04:56:44 2010 New Revision: 1196 URL: http://flashrom.org/trac/flashrom/changeset/1196
Log: Remove duplicate includes from the code.
Signed-off-by: Stefan Reinauer stepan@coresystems.de Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
Modified: trunk/atahpt.c trunk/bitbang_spi.c trunk/buspirate_spi.c trunk/cbtable.c trunk/chipset_enable.c trunk/cli_classic.c trunk/dummyflasher.c trunk/ft2232_spi.c trunk/gfxnvidia.c trunk/hwaccess.h trunk/internal.c trunk/mcp6x_spi.c trunk/pcidev.c trunk/physmap.c trunk/serial.c trunk/serprog.c
Modified: trunk/atahpt.c ============================================================================== --- trunk/atahpt.c Wed Oct 6 01:21:51 2010 (r1195) +++ trunk/atahpt.c Wed Oct 6 04:56:44 2010 (r1196) @@ -20,7 +20,6 @@
#include <stdlib.h> #include <string.h> -#include <sys/types.h> #include "flash.h" #include "programmer.h"
Modified: trunk/bitbang_spi.c ============================================================================== --- trunk/bitbang_spi.c Wed Oct 6 01:21:51 2010 (r1195) +++ trunk/bitbang_spi.c Wed Oct 6 04:56:44 2010 (r1196) @@ -18,7 +18,6 @@ */
#include <stdio.h> -#include <stdint.h> #include <string.h> #include <stdlib.h> #include <ctype.h>
Modified: trunk/buspirate_spi.c ============================================================================== --- trunk/buspirate_spi.c Wed Oct 6 01:21:51 2010 (r1195) +++ trunk/buspirate_spi.c Wed Oct 6 04:56:44 2010 (r1196) @@ -18,7 +18,6 @@ */
#include <stdio.h> -#include <stdint.h> #include <string.h> #include <stdlib.h> #include <ctype.h>
Modified: trunk/cbtable.c ============================================================================== --- trunk/cbtable.c Wed Oct 6 01:21:51 2010 (r1195) +++ trunk/cbtable.c Wed Oct 6 04:56:44 2010 (r1196) @@ -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"
Modified: trunk/chipset_enable.c ============================================================================== --- trunk/chipset_enable.c Wed Oct 6 01:21:51 2010 (r1195) +++ trunk/chipset_enable.c Wed Oct 6 04:56:44 2010 (r1196) @@ -29,7 +29,6 @@
#include <stdlib.h> #include <string.h> -#include <sys/types.h> #include <unistd.h> #include "flash.h" #include "programmer.h"
Modified: trunk/cli_classic.c ============================================================================== --- trunk/cli_classic.c Wed Oct 6 01:21:51 2010 (r1195) +++ trunk/cli_classic.c Wed Oct 6 04:56:44 2010 (r1196) @@ -23,7 +23,6 @@
#include <stdio.h> #include <fcntl.h> -#include <sys/types.h> #include <sys/stat.h> #include <string.h> #include <stdlib.h>
Modified: trunk/dummyflasher.c ============================================================================== --- trunk/dummyflasher.c Wed Oct 6 01:21:51 2010 (r1195) +++ trunk/dummyflasher.c Wed Oct 6 04:56:44 2010 (r1196) @@ -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"
Modified: trunk/ft2232_spi.c ============================================================================== --- trunk/ft2232_spi.c Wed Oct 6 01:21:51 2010 (r1195) +++ trunk/ft2232_spi.c Wed Oct 6 04:56:44 2010 (r1196) @@ -21,7 +21,6 @@ #if CONFIG_FT2232_SPI == 1
#include <stdio.h> -#include <stdint.h> #include <string.h> #include <stdlib.h> #include <ctype.h>
Modified: trunk/gfxnvidia.c ============================================================================== --- trunk/gfxnvidia.c Wed Oct 6 01:21:51 2010 (r1195) +++ trunk/gfxnvidia.c Wed Oct 6 04:56:44 2010 (r1196) @@ -20,7 +20,6 @@
#include <stdlib.h> #include <string.h> -#include <sys/types.h> #include "flash.h" #include "programmer.h"
Modified: trunk/hwaccess.h ============================================================================== --- trunk/hwaccess.h Wed Oct 6 01:21:51 2010 (r1195) +++ trunk/hwaccess.h Wed Oct 6 04:56:44 2010 (r1196) @@ -252,7 +252,6 @@ #define iopl amd64_iopl #endif #endif - #include <stdint.h>
static inline void outb(uint8_t value, uint16_t port) {
Modified: trunk/internal.c ============================================================================== --- trunk/internal.c Wed Oct 6 01:21:51 2010 (r1195) +++ trunk/internal.c Wed Oct 6 04:56:44 2010 (r1196) @@ -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"
Modified: trunk/mcp6x_spi.c ============================================================================== --- trunk/mcp6x_spi.c Wed Oct 6 01:21:51 2010 (r1195) +++ trunk/mcp6x_spi.c Wed Oct 6 04:56:44 2010 (r1196) @@ -25,7 +25,6 @@
#if defined(__i386__) || defined(__x86_64__)
-#include <stdint.h> #include <stdlib.h> #include <ctype.h> #include "flash.h"
Modified: trunk/pcidev.c ============================================================================== --- trunk/pcidev.c Wed Oct 6 01:21:51 2010 (r1195) +++ trunk/pcidev.c Wed Oct 6 04:56:44 2010 (r1196) @@ -20,7 +20,6 @@
#include <stdlib.h> #include <string.h> -#include <sys/types.h> #include "flash.h" #include "programmer.h"
Modified: trunk/physmap.c ============================================================================== --- trunk/physmap.c Wed Oct 6 01:21:51 2010 (r1195) +++ trunk/physmap.c Wed Oct 6 04:56:44 2010 (r1196) @@ -22,7 +22,6 @@
#include <unistd.h> #include <stdio.h> -#include <sys/types.h> #include <stdlib.h> #include <string.h> #include "flash.h" @@ -135,8 +134,6 @@ } #elif defined(__DARWIN__)
-#include <DirectIO/darwinio.h> - #define MEM_DEV "DirectIO"
static void *sys_physmap(unsigned long phys_addr, size_t len)
Modified: trunk/serial.c ============================================================================== --- trunk/serial.c Wed Oct 6 01:21:51 2010 (r1195) +++ trunk/serial.c Wed Oct 6 04:56:44 2010 (r1196) @@ -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>
Modified: trunk/serprog.c ============================================================================== --- trunk/serprog.c Wed Oct 6 01:21:51 2010 (r1195) +++ trunk/serprog.c Wed Oct 6 04:56:44 2010 (r1196) @@ -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>