diff options
author | Nico Huber <nico.huber@secunet.com> | 2012-12-30 01:23:17 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2012-12-30 01:23:17 +0000 |
commit | bcb2e5a7080cbe0ff21c8ffa5f77b5ba1ea0c472 (patch) | |
tree | a20f41f2259da0fb66c67af221ff3e9ab00015e3 /cli_classic.c | |
parent | 6282966cc04525828b96273f373e3b105632776b (diff) | |
download | ast2050-flashrom-bcb2e5a7080cbe0ff21c8ffa5f77b5ba1ea0c472.zip ast2050-flashrom-bcb2e5a7080cbe0ff21c8ffa5f77b5ba1ea0c472.tar.gz |
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>
Diffstat (limited to 'cli_classic.c')
-rw-r--r-- | cli_classic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli_classic.c b/cli_classic.c index dd070c5..14fb825 100644 --- a/cli_classic.c +++ b/cli_classic.c @@ -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(); |