summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-06-15 07:56:36 +0000
committerpeter <peter@FreeBSD.org>2001-06-15 07:56:36 +0000
commit6323b78b7e1e5c96a2f18a3e235eae8d4a3775f8 (patch)
tree0aa758012782ad04eb4fcce6a39b7440ecfdd326 /sys
parent6ad938c7be3fe60f95d02c725a41ead668c74ba9 (diff)
downloadFreeBSD-src-6323b78b7e1e5c96a2f18a3e235eae8d4a3775f8.zip
FreeBSD-src-6323b78b7e1e5c96a2f18a3e235eae8d4a3775f8.tar.gz
Fix warnings:
585: warning: missing braces around initializer 605: warning: missing braces around initializer
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/isa/tw.c96
1 files changed, 48 insertions, 48 deletions
diff --git a/sys/i386/isa/tw.c b/sys/i386/isa/tw.c
index 4b9c458..4bb509d 100644
--- a/sys/i386/isa/tw.c
+++ b/sys/i386/isa/tw.c
@@ -582,58 +582,58 @@ static char X10_START[] = { 1, 1, 1, 0 };
#define X10_HOUSE_LENGTH 8
static char X10_HOUSE[16][8] = {
- 0, 1, 1, 0, 1, 0, 0, 1, /* A = 0110 */
- 1, 0, 1, 0, 1, 0, 0, 1, /* B = 1110 */
- 0, 1, 0, 1, 1, 0, 0, 1, /* C = 0010 */
- 1, 0, 0, 1, 1, 0, 0, 1, /* D = 1010 */
- 0, 1, 0, 1, 0, 1, 1, 0, /* E = 0001 */
- 1, 0, 0, 1, 0, 1, 1, 0, /* F = 1001 */
- 0, 1, 1, 0, 0, 1, 1, 0, /* G = 0101 */
- 1, 0, 1, 0, 0, 1, 1, 0, /* H = 1101 */
- 0, 1, 1, 0, 1, 0, 1, 0, /* I = 0111 */
- 1, 0, 1, 0, 1, 0, 1, 0, /* J = 1111 */
- 0, 1, 0, 1, 1, 0, 1, 0, /* K = 0011 */
- 1, 0, 0, 1, 1, 0, 1, 0, /* L = 1011 */
- 0, 1, 0, 1, 0, 1, 0, 1, /* M = 0000 */
- 1, 0, 0, 1, 0, 1, 0, 1, /* N = 1000 */
- 0, 1, 1, 0, 0, 1, 0, 1, /* O = 0100 */
- 1, 0, 1, 0, 0, 1, 0, 1 /* P = 1100 */
+ { 0, 1, 1, 0, 1, 0, 0, 1 }, /* A = 0110 */
+ { 1, 0, 1, 0, 1, 0, 0, 1 }, /* B = 1110 */
+ { 0, 1, 0, 1, 1, 0, 0, 1 }, /* C = 0010 */
+ { 1, 0, 0, 1, 1, 0, 0, 1 }, /* D = 1010 */
+ { 0, 1, 0, 1, 0, 1, 1, 0 }, /* E = 0001 */
+ { 1, 0, 0, 1, 0, 1, 1, 0 }, /* F = 1001 */
+ { 0, 1, 1, 0, 0, 1, 1, 0 }, /* G = 0101 */
+ { 1, 0, 1, 0, 0, 1, 1, 0 }, /* H = 1101 */
+ { 0, 1, 1, 0, 1, 0, 1, 0 }, /* I = 0111 */
+ { 1, 0, 1, 0, 1, 0, 1, 0 }, /* J = 1111 */
+ { 0, 1, 0, 1, 1, 0, 1, 0 }, /* K = 0011 */
+ { 1, 0, 0, 1, 1, 0, 1, 0 }, /* L = 1011 */
+ { 0, 1, 0, 1, 0, 1, 0, 1 }, /* M = 0000 */
+ { 1, 0, 0, 1, 0, 1, 0, 1 }, /* N = 1000 */
+ { 0, 1, 1, 0, 0, 1, 0, 1 }, /* O = 0100 */
+ { 1, 0, 1, 0, 0, 1, 0, 1 } /* P = 1100 */
};
#define X10_KEY_LENGTH 10
static char X10_KEY[32][10] = {
- 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, /* 01100 => 1 */
- 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, /* 11100 => 2 */
- 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, /* 00100 => 3 */
- 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, /* 10100 => 4 */
- 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, /* 00010 => 5 */
- 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, /* 10010 => 6 */
- 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, /* 01010 => 7 */
- 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, /* 11010 => 8 */
- 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, /* 01110 => 9 */
- 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, /* 11110 => 10 */
- 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, /* 00110 => 11 */
- 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, /* 10110 => 12 */
- 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, /* 00000 => 13 */
- 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, /* 10000 => 14 */
- 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, /* 01000 => 15 */
- 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, /* 11000 => 16 */
- 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, /* 00001 => All Units Off */
- 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, /* 00011 => All Units On */
- 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, /* 00101 => On */
- 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, /* 00111 => Off */
- 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, /* 01001 => Dim */
- 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, /* 01011 => Bright */
- 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, /* 01101 => All LIGHTS Off */
- 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, /* 01111 => Extended Code */
- 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, /* 10001 => Hail Request */
- 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, /* 10011 => Hail Acknowledge */
- 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, /* 10101 => Preset Dim 0 */
- 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, /* 10111 => Preset Dim 1 */
- 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, /* 11000 => Extended Data (analog) */
- 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, /* 11011 => Status = on */
- 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, /* 11101 => Status = off */
- 1, 0, 1, 0, 1, 0, 1, 0, 1, 0 /* 11111 => Status request */
+ { 0, 1, 1, 0, 1, 0, 0, 1, 0, 1 }, /* 01100 => 1 */
+ { 1, 0, 1, 0, 1, 0, 0, 1, 0, 1 }, /* 11100 => 2 */
+ { 0, 1, 0, 1, 1, 0, 0, 1, 0, 1 }, /* 00100 => 3 */
+ { 1, 0, 0, 1, 1, 0, 0, 1, 0, 1 }, /* 10100 => 4 */
+ { 0, 1, 0, 1, 0, 1, 1, 0, 0, 1 }, /* 00010 => 5 */
+ { 1, 0, 0, 1, 0, 1, 1, 0, 0, 1 }, /* 10010 => 6 */
+ { 0, 1, 1, 0, 0, 1, 1, 0, 0, 1 }, /* 01010 => 7 */
+ { 1, 0, 1, 0, 0, 1, 1, 0, 0, 1 }, /* 11010 => 8 */
+ { 0, 1, 1, 0, 1, 0, 1, 0, 0, 1 }, /* 01110 => 9 */
+ { 1, 0, 1, 0, 1, 0, 1, 0, 0, 1 }, /* 11110 => 10 */
+ { 0, 1, 0, 1, 1, 0, 1, 0, 0, 1 }, /* 00110 => 11 */
+ { 1, 0, 0, 1, 1, 0, 1, 0, 0, 1 }, /* 10110 => 12 */
+ { 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 }, /* 00000 => 13 */
+ { 1, 0, 0, 1, 0, 1, 0, 1, 0, 1 }, /* 10000 => 14 */
+ { 0, 1, 1, 0, 0, 1, 0, 1, 0, 1 }, /* 01000 => 15 */
+ { 1, 0, 1, 0, 0, 1, 0, 1, 0, 1 }, /* 11000 => 16 */
+ { 0, 1, 0, 1, 0, 1, 0, 1, 1, 0 }, /* 00001 => All Units Off */
+ { 0, 1, 0, 1, 0, 1, 1, 0, 1, 0 }, /* 00011 => All Units On */
+ { 0, 1, 0, 1, 1, 0, 0, 1, 1, 0 }, /* 00101 => On */
+ { 0, 1, 0, 1, 1, 0, 1, 0, 1, 0 }, /* 00111 => Off */
+ { 0, 1, 1, 0, 0, 1, 0, 1, 1, 0 }, /* 01001 => Dim */
+ { 0, 1, 1, 0, 0, 1, 1, 0, 1, 0 }, /* 01011 => Bright */
+ { 0, 1, 1, 0, 1, 0, 0, 1, 1, 0 }, /* 01101 => All LIGHTS Off */
+ { 0, 1, 1, 0, 1, 0, 1, 0, 1, 0 }, /* 01111 => Extended Code */
+ { 1, 0, 0, 1, 0, 1, 0, 1, 1, 0 }, /* 10001 => Hail Request */
+ { 1, 0, 0, 1, 0, 1, 1, 0, 1, 0 }, /* 10011 => Hail Acknowledge */
+ { 1, 0, 0, 1, 1, 0, 0, 1, 1, 0 }, /* 10101 => Preset Dim 0 */
+ { 1, 0, 0, 1, 1, 0, 1, 0, 1, 0 }, /* 10111 => Preset Dim 1 */
+ { 1, 0, 1, 0, 0, 1, 0, 1, 0, 1 }, /* 11000 => Ext Data (analog) */
+ { 1, 0, 1, 0, 0, 1, 1, 0, 1, 0 }, /* 11011 => Status = on */
+ { 1, 0, 1, 0, 1, 0, 0, 1, 1, 0 }, /* 11101 => Status = off */
+ { 1, 0, 1, 0, 1, 0, 1, 0, 1, 0 } /* 11111 => Status request */
};
/*
OpenPOWER on IntegriCloud