src: Use 'include <string.h>' when appropriate
Drop 'include <string.h>' when it is not used and add it when it is missing. Also extra lines removed, or added just before local includes. Change-Id: Iccac4dbaa2dd4144fc347af36ecfc9747da3de20 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31966 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
committed by
Kyösti Mälkki
parent
0eb4db185c
commit
a1e22b8192
@@ -17,7 +17,6 @@
|
||||
|
||||
#include <device/device.h>
|
||||
#include <device/pnp.h>
|
||||
#include <string.h>
|
||||
#include <pc80/keyboard.h>
|
||||
#include <stdlib.h>
|
||||
#include "pc87360.h"
|
||||
|
@@ -17,7 +17,6 @@
|
||||
|
||||
#include <device/device.h>
|
||||
#include <device/pnp.h>
|
||||
#include <string.h>
|
||||
#include <pc80/keyboard.h>
|
||||
#include <stdlib.h>
|
||||
#include "pc87366.h"
|
||||
|
@@ -16,7 +16,6 @@
|
||||
|
||||
#include <device/device.h>
|
||||
#include <device/pnp.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include "pc87382.h"
|
||||
|
||||
|
@@ -16,7 +16,6 @@
|
||||
|
||||
#include <device/device.h>
|
||||
#include <device/pnp.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include "pc87384.h"
|
||||
|
||||
|
@@ -16,7 +16,6 @@
|
||||
|
||||
#include <device/device.h>
|
||||
#include <device/pnp.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include "pc87392.h"
|
||||
|
||||
|
@@ -18,7 +18,6 @@
|
||||
|
||||
#include <device/device.h>
|
||||
#include <device/pnp.h>
|
||||
#include <string.h>
|
||||
#include <pc80/keyboard.h>
|
||||
#include <stdlib.h>
|
||||
#include "pc87417.h"
|
||||
|
@@ -16,7 +16,6 @@
|
||||
|
||||
#include <device/device.h>
|
||||
#include <device/pnp.h>
|
||||
#include <string.h>
|
||||
#include <pc80/keyboard.h>
|
||||
#include <stdlib.h>
|
||||
#include "wpcm450.h"
|
||||
|
@@ -17,7 +17,6 @@
|
||||
#include <device/pnp.h>
|
||||
#include <console/console.h>
|
||||
#include <device/smbus.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
#include <pc80/keyboard.h>
|
||||
|
@@ -20,7 +20,6 @@
|
||||
#include <device/pnp.h>
|
||||
#include <superio/conf_mode.h>
|
||||
#include <device/smbus.h>
|
||||
#include <string.h>
|
||||
#include <pc80/keyboard.h>
|
||||
#include <stdlib.h>
|
||||
#include "dme1737.h"
|
||||
|
@@ -19,7 +19,6 @@
|
||||
#include <device/pnp.h>
|
||||
#include <superio/conf_mode.h>
|
||||
#include <device/smbus.h>
|
||||
#include <string.h>
|
||||
#include <pc80/keyboard.h>
|
||||
#include <stdlib.h>
|
||||
#include "kbc1100.h"
|
||||
|
@@ -23,7 +23,6 @@
|
||||
#include <device/pnp.h>
|
||||
#include <superio/conf_mode.h>
|
||||
#include <device/smbus.h>
|
||||
#include <string.h>
|
||||
#include <pc80/keyboard.h>
|
||||
#include <stdlib.h>
|
||||
#include "lpc47b272.h"
|
||||
|
@@ -21,7 +21,6 @@
|
||||
#include <superio/conf_mode.h>
|
||||
#include <console/console.h>
|
||||
#include <device/smbus.h>
|
||||
#include <string.h>
|
||||
#include <pc80/keyboard.h>
|
||||
#include <stdlib.h>
|
||||
#include "lpc47b397.h"
|
||||
|
@@ -22,7 +22,6 @@
|
||||
#include <device/pnp.h>
|
||||
#include <superio/conf_mode.h>
|
||||
#include <device/smbus.h>
|
||||
#include <string.h>
|
||||
#include <pc80/keyboard.h>
|
||||
#include <stdlib.h>
|
||||
#include "lpc47m10x.h"
|
||||
|
@@ -19,7 +19,6 @@
|
||||
#include <device/pnp.h>
|
||||
#include <superio/conf_mode.h>
|
||||
#include <device/smbus.h>
|
||||
#include <string.h>
|
||||
#include <pc80/keyboard.h>
|
||||
#include <stdlib.h>
|
||||
#include "lpc47m15x.h"
|
||||
|
@@ -24,7 +24,6 @@
|
||||
#include <device/pnp.h>
|
||||
#include <console/console.h>
|
||||
#include <device/smbus.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
#include "lpc47n217.h"
|
||||
|
@@ -20,7 +20,6 @@
|
||||
#include <device/pnp.h>
|
||||
#include <console/console.h>
|
||||
#include <device/smbus.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
#include <pc80/keyboard.h>
|
||||
|
@@ -19,7 +19,6 @@
|
||||
#include <device/pnp.h>
|
||||
#include <superio/conf_mode.h>
|
||||
#include <device/smbus.h>
|
||||
#include <string.h>
|
||||
#include <pc80/keyboard.h>
|
||||
#include <stdlib.h>
|
||||
#include "mec1308.h"
|
||||
|
@@ -21,7 +21,6 @@
|
||||
#include <device/pnp.h>
|
||||
#include <superio/conf_mode.h>
|
||||
#include <console/console.h>
|
||||
#include <string.h>
|
||||
#include <pc80/keyboard.h>
|
||||
#include <pc80/mc146818rtc.h>
|
||||
#include <stdlib.h>
|
||||
|
@@ -21,7 +21,6 @@
|
||||
#include <device/pnp.h>
|
||||
#include <superio/conf_mode.h>
|
||||
#include <console/console.h>
|
||||
#include <string.h>
|
||||
#include <pc80/keyboard.h>
|
||||
#include <pc80/mc146818rtc.h>
|
||||
#include <stdlib.h>
|
||||
|
@@ -19,7 +19,6 @@
|
||||
#include <device/device.h>
|
||||
#include <device/pnp.h>
|
||||
#include <superio/conf_mode.h>
|
||||
#include <string.h>
|
||||
#include <pc80/keyboard.h>
|
||||
#include "w83627thg.h"
|
||||
|
||||
|
@@ -17,7 +17,6 @@
|
||||
#include <device/device.h>
|
||||
#include <device/pnp.h>
|
||||
#include <superio/conf_mode.h>
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <pc80/keyboard.h>
|
||||
|
@@ -19,7 +19,6 @@
|
||||
#include <device/pnp.h>
|
||||
#include <superio/conf_mode.h>
|
||||
#include <console/console.h>
|
||||
#include <string.h>
|
||||
#include <lib.h>
|
||||
#include <stdlib.h>
|
||||
#include "chip.h"
|
||||
|
@@ -19,7 +19,6 @@
|
||||
#include <device/device.h>
|
||||
#include <device/pnp.h>
|
||||
#include <superio/conf_mode.h>
|
||||
#include <string.h>
|
||||
#include <pc80/keyboard.h>
|
||||
#include <stdlib.h>
|
||||
#include "w83977tf.h"
|
||||
|
Reference in New Issue
Block a user