diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2013-03-08 19:39:49 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2013-03-08 19:55:26 -0500 |
commit | 70c94dd59bb2777a8e500be72847041d811f51d0 (patch) | |
tree | f6c4ff7f644b79b5c69e51912827af76ca5803f5 /src/romfile.c | |
parent | 2af52da5ad01770efeb202605ebacb23ad5108a6 (diff) | |
download | seabios-70c94dd59bb2777a8e500be72847041d811f51d0.tar.gz |
Use VARVERIFY32INIT on global variables that point to "tmp" memory.
Enable the recently added build check on global variables that are (or
contain) pointers to memory allocated by malloc_tmp(). This helps
detect cases where temporary memory is accessed after POST.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/romfile.c')
-rw-r--r-- | src/romfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/romfile.c b/src/romfile.c index 93ee3d6d..ea71d1f0 100644 --- a/src/romfile.c +++ b/src/romfile.c @@ -7,7 +7,7 @@ #include "config.h" // CONFIG_* #include "util.h" // dprintf -static struct romfile_s *RomfileRoot; +static struct romfile_s *RomfileRoot VARVERIFY32INIT; void romfile_add(struct romfile_s *file) |