Skip to content

Commit 4678577

Browse files
committed
Another pgindent run with updated typedefs.
1 parent 0e2b12b commit 4678577

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+811
-808
lines changed

contrib/tsearch2/snowball/api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ struct SN_env
2323
int S_size;
2424
int I_size;
2525
int B_size;
26-
symbol **S;
26+
symbol **S;
2727
int *I;
2828
symbol *B;
2929
};

contrib/tsearch2/snowball/english_stem.c

Lines changed: 76 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ static symbol s_0_0[5] = {'g', 'e', 'n', 'e', 'r'};
2727

2828
static struct among a_0[1] =
2929
{
30-
/* 0 */ {5, s_0_0, -1, -1, 0}
30+
/* 0 */ {5, s_0_0, -1, -1, 0}
3131
};
3232

3333
static symbol s_1_0[3] = {'i', 'e', 'd'};
@@ -39,12 +39,12 @@ static symbol s_1_5[2] = {'u', 's'};
3939

4040
static struct among a_1[6] =
4141
{
42-
/* 0 */ {3, s_1_0, -1, 2, 0},
43-
/* 1 */ {1, s_1_1, -1, 3, 0},
44-
/* 2 */ {3, s_1_2, 1, 2, 0},
45-
/* 3 */ {4, s_1_3, 1, 1, 0},
46-
/* 4 */ {2, s_1_4, 1, -1, 0},
47-
/* 5 */ {2, s_1_5, 1, -1, 0}
42+
/* 0 */ {3, s_1_0, -1, 2, 0},
43+
/* 1 */ {1, s_1_1, -1, 3, 0},
44+
/* 2 */ {3, s_1_2, 1, 2, 0},
45+
/* 3 */ {4, s_1_3, 1, 1, 0},
46+
/* 4 */ {2, s_1_4, 1, -1, 0},
47+
/* 5 */ {2, s_1_5, 1, -1, 0}
4848
};
4949

5050
static symbol s_2_1[2] = {'b', 'b'};
@@ -62,16 +62,16 @@ static symbol s_2_12[2] = {'i', 'z'};
6262

6363
static struct among a_2[13] =
6464
{
65-
/* 0 */ {0, 0, -1, 3, 0},
66-
/* 1 */ {2, s_2_1, 0, 2, 0},
67-
/* 2 */ {2, s_2_2, 0, 2, 0},
68-
/* 3 */ {2, s_2_3, 0, 2, 0},
69-
/* 4 */ {2, s_2_4, 0, 2, 0},
70-
/* 5 */ {2, s_2_5, 0, 1, 0},
71-
/* 6 */ {2, s_2_6, 0, 2, 0},
72-
/* 7 */ {2, s_2_7, 0, 2, 0},
73-
/* 8 */ {2, s_2_8, 0, 2, 0},
74-
/* 9 */ {2, s_2_9, 0, 2, 0},
65+
/* 0 */ {0, 0, -1, 3, 0},
66+
/* 1 */ {2, s_2_1, 0, 2, 0},
67+
/* 2 */ {2, s_2_2, 0, 2, 0},
68+
/* 3 */ {2, s_2_3, 0, 2, 0},
69+
/* 4 */ {2, s_2_4, 0, 2, 0},
70+
/* 5 */ {2, s_2_5, 0, 1, 0},
71+
/* 6 */ {2, s_2_6, 0, 2, 0},
72+
/* 7 */ {2, s_2_7, 0, 2, 0},
73+
/* 8 */ {2, s_2_8, 0, 2, 0},
74+
/* 9 */ {2, s_2_9, 0, 2, 0},
7575
/* 10 */ {2, s_2_10, 0, 1, 0},
7676
/* 11 */ {2, s_2_11, 0, 2, 0},
7777
/* 12 */ {2, s_2_12, 0, 1, 0}
@@ -86,12 +86,12 @@ static symbol s_3_5[5] = {'i', 'n', 'g', 'l', 'y'};
8686

8787
static struct among a_3[6] =
8888
{
89-
/* 0 */ {2, s_3_0, -1, 2, 0},
90-
/* 1 */ {3, s_3_1, 0, 1, 0},
91-
/* 2 */ {3, s_3_2, -1, 2, 0},
92-
/* 3 */ {4, s_3_3, -1, 2, 0},
93-
/* 4 */ {5, s_3_4, 3, 1, 0},
94-
/* 5 */ {5, s_3_5, -1, 2, 0}
89+
/* 0 */ {2, s_3_0, -1, 2, 0},
90+
/* 1 */ {3, s_3_1, 0, 1, 0},
91+
/* 2 */ {3, s_3_2, -1, 2, 0},
92+
/* 3 */ {4, s_3_3, -1, 2, 0},
93+
/* 4 */ {5, s_3_4, 3, 1, 0},
94+
/* 5 */ {5, s_3_5, -1, 2, 0}
9595
};
9696

9797
static symbol s_4_0[4] = {'a', 'n', 'c', 'i'};
@@ -121,16 +121,16 @@ static symbol s_4_23[7] = {'o', 'u', 's', 'n', 'e', 's', 's'};
121121

122122
static struct among a_4[24] =
123123
{
124-
/* 0 */ {4, s_4_0, -1, 3, 0},
125-
/* 1 */ {4, s_4_1, -1, 2, 0},
126-
/* 2 */ {3, s_4_2, -1, 13, 0},
127-
/* 3 */ {2, s_4_3, -1, 16, 0},
128-
/* 4 */ {3, s_4_4, 3, 12, 0},
129-
/* 5 */ {4, s_4_5, 4, 4, 0},
130-
/* 6 */ {4, s_4_6, 3, 8, 0},
131-
/* 7 */ {5, s_4_7, 3, 14, 0},
132-
/* 8 */ {6, s_4_8, 3, 15, 0},
133-
/* 9 */ {5, s_4_9, 3, 10, 0},
124+
/* 0 */ {4, s_4_0, -1, 3, 0},
125+
/* 1 */ {4, s_4_1, -1, 2, 0},
126+
/* 2 */ {3, s_4_2, -1, 13, 0},
127+
/* 3 */ {2, s_4_3, -1, 16, 0},
128+
/* 4 */ {3, s_4_4, 3, 12, 0},
129+
/* 5 */ {4, s_4_5, 4, 4, 0},
130+
/* 6 */ {4, s_4_6, 3, 8, 0},
131+
/* 7 */ {5, s_4_7, 3, 14, 0},
132+
/* 8 */ {6, s_4_8, 3, 15, 0},
133+
/* 9 */ {5, s_4_9, 3, 10, 0},
134134
/* 10 */ {5, s_4_10, 3, 5, 0},
135135
/* 11 */ {5, s_4_11, -1, 8, 0},
136136
/* 12 */ {6, s_4_12, -1, 12, 0},
@@ -159,15 +159,15 @@ static symbol s_5_8[4] = {'n', 'e', 's', 's'};
159159

160160
static struct among a_5[9] =
161161
{
162-
/* 0 */ {5, s_5_0, -1, 4, 0},
163-
/* 1 */ {5, s_5_1, -1, 6, 0},
164-
/* 2 */ {5, s_5_2, -1, 3, 0},
165-
/* 3 */ {5, s_5_3, -1, 4, 0},
166-
/* 4 */ {4, s_5_4, -1, 4, 0},
167-
/* 5 */ {6, s_5_5, -1, 1, 0},
168-
/* 6 */ {7, s_5_6, 5, 2, 0},
169-
/* 7 */ {3, s_5_7, -1, 5, 0},
170-
/* 8 */ {4, s_5_8, -1, 5, 0}
162+
/* 0 */ {5, s_5_0, -1, 4, 0},
163+
/* 1 */ {5, s_5_1, -1, 6, 0},
164+
/* 2 */ {5, s_5_2, -1, 3, 0},
165+
/* 3 */ {5, s_5_3, -1, 4, 0},
166+
/* 4 */ {4, s_5_4, -1, 4, 0},
167+
/* 5 */ {6, s_5_5, -1, 1, 0},
168+
/* 6 */ {7, s_5_6, 5, 2, 0},
169+
/* 7 */ {3, s_5_7, -1, 5, 0},
170+
/* 8 */ {4, s_5_8, -1, 5, 0}
171171
};
172172

173173
static symbol s_6_0[2] = {'i', 'c'};
@@ -191,16 +191,16 @@ static symbol s_6_17[5] = {'e', 'm', 'e', 'n', 't'};
191191

192192
static struct among a_6[18] =
193193
{
194-
/* 0 */ {2, s_6_0, -1, 1, 0},
195-
/* 1 */ {4, s_6_1, -1, 1, 0},
196-
/* 2 */ {4, s_6_2, -1, 1, 0},
197-
/* 3 */ {4, s_6_3, -1, 1, 0},
198-
/* 4 */ {4, s_6_4, -1, 1, 0},
199-
/* 5 */ {3, s_6_5, -1, 1, 0},
200-
/* 6 */ {3, s_6_6, -1, 1, 0},
201-
/* 7 */ {3, s_6_7, -1, 1, 0},
202-
/* 8 */ {3, s_6_8, -1, 1, 0},
203-
/* 9 */ {2, s_6_9, -1, 1, 0},
194+
/* 0 */ {2, s_6_0, -1, 1, 0},
195+
/* 1 */ {4, s_6_1, -1, 1, 0},
196+
/* 2 */ {4, s_6_2, -1, 1, 0},
197+
/* 3 */ {4, s_6_3, -1, 1, 0},
198+
/* 4 */ {4, s_6_4, -1, 1, 0},
199+
/* 5 */ {3, s_6_5, -1, 1, 0},
200+
/* 6 */ {3, s_6_6, -1, 1, 0},
201+
/* 7 */ {3, s_6_7, -1, 1, 0},
202+
/* 8 */ {3, s_6_8, -1, 1, 0},
203+
/* 9 */ {2, s_6_9, -1, 1, 0},
204204
/* 10 */ {3, s_6_10, -1, 1, 0},
205205
/* 11 */ {3, s_6_11, -1, 2, 0},
206206
/* 12 */ {2, s_6_12, -1, 1, 0},
@@ -216,8 +216,8 @@ static symbol s_7_1[1] = {'l'};
216216

217217
static struct among a_7[2] =
218218
{
219-
/* 0 */ {1, s_7_0, -1, 1, 0},
220-
/* 1 */ {1, s_7_1, -1, 2, 0}
219+
/* 0 */ {1, s_7_0, -1, 1, 0},
220+
/* 1 */ {1, s_7_1, -1, 2, 0}
221221
};
222222

223223
static symbol s_8_0[7] = {'s', 'u', 'c', 'c', 'e', 'e', 'd'};
@@ -231,14 +231,14 @@ static symbol s_8_7[6] = {'o', 'u', 't', 'i', 'n', 'g'};
231231

232232
static struct among a_8[8] =
233233
{
234-
/* 0 */ {7, s_8_0, -1, -1, 0},
235-
/* 1 */ {7, s_8_1, -1, -1, 0},
236-
/* 2 */ {6, s_8_2, -1, -1, 0},
237-
/* 3 */ {7, s_8_3, -1, -1, 0},
238-
/* 4 */ {6, s_8_4, -1, -1, 0},
239-
/* 5 */ {7, s_8_5, -1, -1, 0},
240-
/* 6 */ {7, s_8_6, -1, -1, 0},
241-
/* 7 */ {6, s_8_7, -1, -1, 0}
234+
/* 0 */ {7, s_8_0, -1, -1, 0},
235+
/* 1 */ {7, s_8_1, -1, -1, 0},
236+
/* 2 */ {6, s_8_2, -1, -1, 0},
237+
/* 3 */ {7, s_8_3, -1, -1, 0},
238+
/* 4 */ {6, s_8_4, -1, -1, 0},
239+
/* 5 */ {7, s_8_5, -1, -1, 0},
240+
/* 6 */ {7, s_8_6, -1, -1, 0},
241+
/* 7 */ {6, s_8_7, -1, -1, 0}
242242
};
243243

244244
static symbol s_9_0[5] = {'a', 'n', 'd', 'e', 's'};
@@ -262,16 +262,16 @@ static symbol s_9_17[4] = {'u', 'g', 'l', 'y'};
262262

263263
static struct among a_9[18] =
264264
{
265-
/* 0 */ {5, s_9_0, -1, -1, 0},
266-
/* 1 */ {5, s_9_1, -1, -1, 0},
267-
/* 2 */ {4, s_9_2, -1, -1, 0},
268-
/* 3 */ {6, s_9_3, -1, -1, 0},
269-
/* 4 */ {5, s_9_4, -1, 3, 0},
270-
/* 5 */ {5, s_9_5, -1, 9, 0},
271-
/* 6 */ {6, s_9_6, -1, 7, 0},
272-
/* 7 */ {4, s_9_7, -1, -1, 0},
273-
/* 8 */ {4, s_9_8, -1, 6, 0},
274-
/* 9 */ {5, s_9_9, -1, 4, 0},
265+
/* 0 */ {5, s_9_0, -1, -1, 0},
266+
/* 1 */ {5, s_9_1, -1, -1, 0},
267+
/* 2 */ {4, s_9_2, -1, -1, 0},
268+
/* 3 */ {6, s_9_3, -1, -1, 0},
269+
/* 4 */ {5, s_9_4, -1, 3, 0},
270+
/* 5 */ {5, s_9_5, -1, 9, 0},
271+
/* 6 */ {6, s_9_6, -1, 7, 0},
272+
/* 7 */ {4, s_9_7, -1, -1, 0},
273+
/* 8 */ {4, s_9_8, -1, 6, 0},
274+
/* 9 */ {5, s_9_9, -1, 4, 0},
275275
/* 10 */ {4, s_9_10, -1, -1, 0},
276276
/* 11 */ {4, s_9_11, -1, 10, 0},
277277
/* 12 */ {6, s_9_12, -1, 11, 0},
@@ -1094,12 +1094,14 @@ english_stem(struct SN_env * z)
10941094
return 1;
10951095
}
10961096

1097-
extern struct SN_env *english_create_env(void)
1097+
extern struct SN_env *
1098+
english_create_env(void)
10981099
{
10991100
return SN_create_env(0, 2, 1);
11001101
}
11011102

1102-
extern void english_close_env(struct SN_env * z)
1103+
extern void
1104+
english_close_env(struct SN_env * z)
11031105
{
11041106
SN_close_env(z);
11051107
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy