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>
diff --git a/ichspi.c b/ichspi.c
index 9eb24a9..2144208 100644
--- a/ichspi.c
+++ b/ichspi.c
@@ -676,7 +676,7 @@
* - 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,