summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2020-04-04 00:56:56 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2020-04-04 00:56:56 +0000
commit33ceb489d33e71b81adbd12bded321ad4486e42a (patch)
tree37ed02fb50e871dce37fa5cf90bf5d37971161d6 /include
parent2efe3be95ede0aa2e7eb4afecc40977af00d4b52 (diff)
downloadsrc-test2-33ceb489d33e71b81adbd12bded321ad4486e42a.tar.gz
src-test2-33ceb489d33e71b81adbd12bded321ad4486e42a.zip
Clean up global variable declarations in the dump and restore
utilities so that they will compile with -fno-common. Started by: Kyle Evans (kevans) Reviewed by: Kyle Evans (kevans) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D24210
Notes
Notes: svn path=/head/; revision=359627
Diffstat (limited to 'include')
-rw-r--r--include/protocols/dumprestore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/protocols/dumprestore.h b/include/protocols/dumprestore.h
index 65df37af6996..6d22763e96de 100644
--- a/include/protocols/dumprestore.h
+++ b/include/protocols/dumprestore.h
@@ -76,7 +76,7 @@
*/
typedef uint32_t dump_ino_t;
-union u_spcl {
+extern union u_spcl {
char dummy[TP_BSIZE];
struct s_spcl {
int32_t c_type; /* record type (see below) */