1
0
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:
Nico Huber
2012-12-30 01:23:17 +00:00
committed by Stefan Tauner
parent 6282966cc0
commit bcb2e5a708
4 changed files with 8 additions and 8 deletions

View File

@ -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();