summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-08-27 23:23:17 +0000
committerJeremy Allison <jra@samba.org>2003-08-27 23:23:17 +0000
commitce236ad65df27af4c2eb70f9e200d3064450511e (patch)
tree5451b4e909bea5dd808e90e5fcb0e993ebdf4a19 /source3
parent06fb721d7f36ff2ffa1e866bcb44689090808417 (diff)
downloadsamba-ce236ad65df27af4c2eb70f9e200d3064450511e.tar.gz
samba-ce236ad65df27af4c2eb70f9e200d3064450511e.tar.bz2
samba-ce236ad65df27af4c2eb70f9e200d3064450511e.zip
Remove what looks like gcc-isms.
Jeremy. (This used to be commit ed72e0a1d56f0da29e4ef964f560f0962630e080)
Diffstat (limited to 'source3')
-rw-r--r--source3/modules/CP850.c33
1 files changed, 17 insertions, 16 deletions
diff --git a/source3/modules/CP850.c b/source3/modules/CP850.c
index 4923f84d50..1805a1e11b 100644
--- a/source3/modules/CP850.c
+++ b/source3/modules/CP850.c
@@ -288,22 +288,23 @@ static const uint16 to_ucs2[256] = {
};
static const struct gap from_idx[] = {
- { start: 0x0000, end: 0x007f, idx: 0 },
- { start: 0x00a0, end: 0x00ff, idx: -32 },
- { start: 0x0131, end: 0x0131, idx: -81 },
- { start: 0x0192, end: 0x0192, idx: -177 },
- { start: 0x2017, end: 0x2017, idx: -7989 },
- { start: 0x2500, end: 0x2502, idx: -9245 },
- { start: 0x250c, end: 0x251c, idx: -9254 },
- { start: 0x2524, end: 0x2524, idx: -9261 },
- { start: 0x252c, end: 0x252c, idx: -9268 },
- { start: 0x2534, end: 0x2534, idx: -9275 },
- { start: 0x253c, end: 0x253c, idx: -9282 },
- { start: 0x2550, end: 0x256c, idx: -9301 },
- { start: 0x2580, end: 0x2588, idx: -9320 },
- { start: 0x2591, end: 0x2593, idx: -9328 },
- { start: 0x25a0, end: 0x25a0, idx: -9340 },
- { start: 0xffff, end: 0xffff, idx: 0 }
+ /* start, end, idx */
+ { 0x0000, 0x007f, 0 },
+ { 0x00a0, 0x00ff, -32 },
+ { 0x0131, 0x0131, -81 },
+ { 0x0192, 0x0192, -177 },
+ { 0x2017, 0x2017, -7989 },
+ { 0x2500, 0x2502, -9245 },
+ { 0x250c, 0x251c, -9254 },
+ { 0x2524, 0x2524, -9261 },
+ { 0x252c, 0x252c, -9268 },
+ { 0x2534, 0x2534, -9275 },
+ { 0x253c, 0x253c, -9282 },
+ { 0x2550, 0x256c, -9301 },
+ { 0x2580, 0x2588, -9320 },
+ { 0x2591, 0x2593, -9328 },
+ { 0x25a0, 0x25a0, -9340 },
+ { 0xffff, 0xffff, 0 }
};
static const unsigned char from_ucs2[] = {