summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/pcvt
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1999-12-21 08:29:35 +0000
committereivind <eivind@FreeBSD.org>1999-12-21 08:29:35 +0000
commit612796d48b8fbbeb36c6f4245550959ec026e892 (patch)
tree92af96f6da096ca31dae3b22e617b66ed6c01fcc /sys/i386/isa/pcvt
parentafa8497e4a252324bb909d1c34143e4cd8f6e72b (diff)
downloadFreeBSD-src-612796d48b8fbbeb36c6f4245550959ec026e892.zip
FreeBSD-src-612796d48b8fbbeb36c6f4245550959ec026e892.tar.gz
Lose explict initialization of mouse to {0}; this gave a warning, and the
implict initialization guaranteed by ISO C give the same result.
Diffstat (limited to 'sys/i386/isa/pcvt')
-rw-r--r--sys/i386/isa/pcvt/pcvt_hdr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/pcvt/pcvt_hdr.h b/sys/i386/isa/pcvt/pcvt_hdr.h
index 07851aa..1a837b0 100644
--- a/sys/i386/isa/pcvt/pcvt_hdr.h
+++ b/sys/i386/isa/pcvt/pcvt_hdr.h
@@ -33,7 +33,7 @@
*
*
* @(#)pcvt_hdr.h, 3.20, Last Edit-Date: [Fri Apr 7 10:16:58 1995]
- *
+ * $FreeBSD$
*/
/*---------------------------------------------------------------------------
@@ -978,7 +978,7 @@ struct tty *pcconsp; /* ptr to current device, see pcattach() */
#endif /* PCVT_NETBSD */
#if PCVT_EMU_MOUSE
-struct mousestat mouse = {0};
+struct mousestat mouse;
struct mousedefs mousedef = {0x3b, 0x3c, 0x3d, 0, 250000};
#endif /* PCVT_EMU_MOUSE */ /* F1, F2, F3, false, 0.25 sec */
OpenPOWER on IntegriCloud