summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1999-03-21 22:11:42 +0000
committermillert <millert@openbsd.org>1999-03-21 22:11:42 +0000
commit10bddbefc779c08bc7d589ed153592c2847f5a2a (patch)
tree9cd71eb957c1802619ec6b777a6e15ae1c2d12b4
parentAdd support for switching disk geometry between disk, bios, and user (diff)
downloadwireguard-openbsd-10bddbefc779c08bc7d589ed153592c2847f5a2a.tar.xz
wireguard-openbsd-10bddbefc779c08bc7d589ed153592c2847f5a2a.zip
dosdp should be extern
-rw-r--r--sbin/disklabel/editor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c
index 48889bbb30e..0bd6450dabc 100644
--- a/sbin/disklabel/editor.c
+++ b/sbin/disklabel/editor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: editor.c,v 1.55 1999/03/21 19:31:10 millert Exp $ */
+/* $OpenBSD: editor.c,v 1.56 1999/03/21 22:11:42 millert Exp $ */
/*
* Copyright (c) 1997-1999 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -28,7 +28,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: editor.c,v 1.55 1999/03/21 19:31:10 millert Exp $";
+static char rcsid[] = "$OpenBSD: editor.c,v 1.56 1999/03/21 22:11:42 millert Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -127,7 +127,7 @@ int writelabel __P((int, char *, struct disklabel *));
extern char *bootarea, *specname;
extern int donothing;
#ifdef DOSLABEL
-struct dos_partition *dosdp; /* DOS partition, if found */
+extern struct dos_partition *dosdp; /* DOS partition, if found */
#endif
/*