summaryrefslogtreecommitdiff
path: root/include/protocols
diff options
context:
space:
mode:
authormortimer <mortimer@cvs.openbsd.org>2021-01-21 00:16:37 +0000
committermortimer <mortimer@cvs.openbsd.org>2021-01-21 00:16:37 +0000
commit2b41d0da2010055cf10f6aac534a187af27b49d6 (patch)
tree023c709f3454a8e7d71794c604e45e39ff45d2ab /include/protocols
parentb9406b0abd78f1f03fbe5a07d6c9d515ce58f8a1 (diff)
Rearrange variables in dump / restore to handle -fno-common.
Largely following the commit by mckusick in FreeBSD. ok naddy@
Diffstat (limited to 'include/protocols')
-rw-r--r--include/protocols/dumprestore.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/protocols/dumprestore.h b/include/protocols/dumprestore.h
index 9a94a0c9e1e..05b99a7b068 100644
--- a/include/protocols/dumprestore.h
+++ b/include/protocols/dumprestore.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dumprestore.h,v 1.10 2014/07/11 16:01:40 halex Exp $ */
+/* $OpenBSD: dumprestore.h,v 1.11 2021/01/21 00:16:36 mortimer Exp $ */
/* $NetBSD: dumprestore.h,v 1.14 2005/12/26 19:01:47 perry Exp $ */
/*
@@ -66,7 +66,7 @@
#endif
#define CHECKSUM (int)84446
-union u_spcl {
+extern union u_spcl {
char dummy[TP_BSIZE];
struct s_spcl {
int32_t c_type; /* record type (see below) */