mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 14:33:18 +02:00
Fix several -Wold-style-declaration warnings
Change-Id: Iffe5e652779a13ee7f64696fb5df4a781fe9a632 Signed-off-by: Richard Hughes <richard@hughsie.com> Reviewed-on: https://review.coreboot.org/c/30404 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:

committed by
Nico Huber

parent
d82be7b2be
commit
93e1625f9f
2
ichspi.c
2
ichspi.c
@ -676,7 +676,7 @@ static int program_opcodes(OPCODES *op, int enable_undo)
|
||||
* - at least one program opcode (BYTE_PROGRAM, AAI_WORD_PROGRAM, ...?)
|
||||
* - necessary preops? (EWSR, WREN, ...?)
|
||||
*/
|
||||
static int ich_missing_opcodes()
|
||||
static int ich_missing_opcodes(void)
|
||||
{
|
||||
uint8_t ops[] = {
|
||||
JEDEC_READ,
|
||||
|
Reference in New Issue
Block a user