summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorrdivacky <rdivacky@FreeBSD.org>2013-07-10 18:07:01 +0000
committerrdivacky <rdivacky@FreeBSD.org>2013-07-10 18:07:01 +0000
commitbbc0e1a927fd9ff0853dd0daef26e084fc0ed5dc (patch)
tree4cf1650a05238a614502900e2b66b9d047b7b54c /usr.sbin
parent492b489d72396e91c0177a4e6ee03446dc808327 (diff)
downloadFreeBSD-src-bbc0e1a927fd9ff0853dd0daef26e084fc0ed5dc.zip
FreeBSD-src-bbc0e1a927fd9ff0853dd0daef26e084fc0ed5dc.tar.gz
Fix -Wmissing-variable-declarations compiler warning.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/nvram/nvram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/nvram/nvram.c b/usr.sbin/nvram/nvram.c
index a286ee3..52c1e80 100644
--- a/usr.sbin/nvram/nvram.c
+++ b/usr.sbin/nvram/nvram.c
@@ -51,7 +51,7 @@ struct deletelist {
struct deletelist *last;
};
-union {
+static union {
uint8_t buf[sizeof(struct chrp_header)];
struct chrp_header header;
} conv;
OpenPOWER on IntegriCloud