mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 06:23: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
@ -455,10 +455,10 @@ const struct programmer_entry programmer_table[] = {
|
||||
#define SHUTDOWN_MAXFN 32
|
||||
static int shutdown_fn_count = 0;
|
||||
/** @private */
|
||||
struct shutdown_func_data {
|
||||
static struct shutdown_func_data {
|
||||
int (*func) (void *data);
|
||||
void *data;
|
||||
} static shutdown_fn[SHUTDOWN_MAXFN];
|
||||
} shutdown_fn[SHUTDOWN_MAXFN];
|
||||
/* Initialize to 0 to make sure nobody registers a shutdown function before
|
||||
* programmer init.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user