mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 23:22:37 +02:00
Remove duplicate includes from the code
Corresponding to flashrom svn r1196. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
This commit is contained in:
parent
602de9829c
commit
18430a08aa
1
atahpt.c
1
atahpt.c
@ -20,7 +20,6 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include "flash.h"
|
||||
#include "programmer.h"
|
||||
|
||||
|
@ -18,7 +18,6 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
|
@ -18,7 +18,6 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
|
@ -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"
|
||||
|
@ -29,7 +29,6 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#include "flash.h"
|
||||
#include "programmer.h"
|
||||
|
@ -23,7 +23,6 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -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"
|
||||
|
@ -21,7 +21,6 @@
|
||||
#if CONFIG_FT2232_SPI == 1
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
|
@ -20,7 +20,6 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include "flash.h"
|
||||
#include "programmer.h"
|
||||
|
||||
|
@ -252,7 +252,6 @@ cpu_to_be(64)
|
||||
#define iopl amd64_iopl
|
||||
#endif
|
||||
#endif
|
||||
#include <stdint.h>
|
||||
|
||||
static inline void outb(uint8_t value, uint16_t port)
|
||||
{
|
||||
|
@ -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"
|
||||
|
||||
|
@ -25,7 +25,6 @@
|
||||
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "flash.h"
|
||||
|
1
pcidev.c
1
pcidev.c
@ -20,7 +20,6 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include "flash.h"
|
||||
#include "programmer.h"
|
||||
|
||||
|
@ -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 @@ void cleanup_cpu_msr(void)
|
||||
}
|
||||
#elif defined(__DARWIN__)
|
||||
|
||||
#include <DirectIO/darwinio.h>
|
||||
|
||||
#define MEM_DEV "DirectIO"
|
||||
|
||||
static void *sys_physmap(unsigned long phys_addr, size_t len)
|
||||
|
1
serial.c
1
serial.c
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user