From 33ceb489d33e71b81adbd12bded321ad4486e42a Mon Sep 17 00:00:00 2001 From: Kirk McKusick Date: Sat, 4 Apr 2020 00:56:56 +0000 Subject: 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 --- include/protocols/dumprestore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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) */ -- cgit v1.3