mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 06:01:16 +02:00
Constify parameters and globals
This makes some stuff const (partially to get a more convenient libflashrom interface). Corresponding to flashrom svn r1639. Signed-off-by: Nico Huber <nico.huber@secunet.com> Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
This commit is contained in:

committed by
Stefan Tauner

parent
6282966cc0
commit
bcb2e5a708
@ -532,7 +532,7 @@ out:
|
||||
free(layoutfile);
|
||||
free(pparam);
|
||||
/* clean up global variables */
|
||||
free(chip_to_probe);
|
||||
free((char *)chip_to_probe); /* Silence! Freeing is not modifying contents. */
|
||||
chip_to_probe = NULL;
|
||||
#ifndef STANDALONE
|
||||
ret |= close_logfile();
|
||||
|
Reference in New Issue
Block a user