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
@ -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"
|
||||
|
Reference in New Issue
Block a user