mirror of
https://github.com/postgres/postgres.git
synced 2025-09-03 15:22:11 +03:00
Fix a few more generator scripts to produce pgindent-clean output.
This completes the project of making all our derived files be pgindent-clean (or else explicitly excluded from indentation), so that no surprises result when running pgindent in a built-out development tree. Discussion: https://postgr.es/m/79ed5348-be7a-b647-dd40-742207186a22@2ndquadrant.com
This commit is contained in:
@@ -115,7 +115,8 @@ swapfunc(SortTuple *a, SortTuple *b, size_t n)
|
||||
{
|
||||
do
|
||||
{
|
||||
SortTuple t = *a;
|
||||
SortTuple t = *a;
|
||||
|
||||
*a++ = *b;
|
||||
*b++ = t;
|
||||
} while (--n > 0);
|
||||
@@ -143,9 +144,9 @@ med3_$SUFFIX(SortTuple *a, SortTuple *b, SortTuple *c$EXTRAARGS)
|
||||
{
|
||||
return cmp_$SUFFIX(a, b$CMPPARAMS) < 0 ?
|
||||
(cmp_$SUFFIX(b, c$CMPPARAMS) < 0 ? b :
|
||||
(cmp_$SUFFIX(a, c$CMPPARAMS) < 0 ? c : a))
|
||||
(cmp_$SUFFIX(a, c$CMPPARAMS) < 0 ? c : a))
|
||||
: (cmp_$SUFFIX(b, c$CMPPARAMS) > 0 ? b :
|
||||
(cmp_$SUFFIX(a, c$CMPPARAMS) < 0 ? a : c));
|
||||
(cmp_$SUFFIX(a, c$CMPPARAMS) < 0 ? a : c));
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user