Skip to content

Commit 1a6280e

Browse files
committed
inline static -> static inline
1 parent 17d7029 commit 1a6280e

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/include/nodes_common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ typedef ChildScanCommonData *ChildScanCommon;
5454
/*
5555
* Destroy exhausted plan states
5656
*/
57-
inline static void
57+
static inline void
5858
clear_plan_states(CustomScanState *scan_state)
5959
{
6060
ListCell *state_cell;

src/include/rangeset.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ typedef struct {
5555
( list_make1_irange(make_irange(0, PrelLastChild(prel), (lossy))) )
5656

5757

58-
inline static IndexRange
58+
static inline IndexRange
5959
make_irange(uint32 lower, uint32 upper, bool lossy)
6060
{
6161
IndexRange result = { lower & IRANGE_BOUNDARY_MASK,
@@ -72,7 +72,7 @@ make_irange(uint32 lower, uint32 upper, bool lossy)
7272
return result;
7373
}
7474

75-
inline static IndexRange *
75+
static inline IndexRange *
7676
alloc_irange(IndexRange irange)
7777
{
7878
IndexRange *result = (IndexRange *) palloc(sizeof(IndexRange));
@@ -84,7 +84,7 @@ alloc_irange(IndexRange irange)
8484
}
8585

8686
/* Return predecessor or 0 if boundary is 0 */
87-
inline static uint32
87+
static inline uint32
8888
irb_pred(uint32 boundary)
8989
{
9090
if (boundary > 0)
@@ -94,7 +94,7 @@ irb_pred(uint32 boundary)
9494
}
9595

9696
/* Return successor or IRANGE_BONDARY_MASK */
97-
inline static uint32
97+
static inline uint32
9898
irb_succ(uint32 boundary)
9999
{
100100
if (boundary >= IRANGE_BOUNDARY_MASK)
@@ -113,7 +113,7 @@ typedef enum
113113
} ir_cmp_lossiness;
114114

115115
/* Comapre lossiness factor of two IndexRanges */
116-
inline static ir_cmp_lossiness
116+
static inline ir_cmp_lossiness
117117
irange_cmp_lossiness(IndexRange a, IndexRange b)
118118
{
119119
if (is_irange_lossy(a) == is_irange_lossy(b))

src/include/relation_info.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ FreeBound(Bound *bound, bool byval)
8787
pfree(DatumGetPointer(BoundGetValue(bound)));
8888
}
8989

90-
inline static int
90+
static inline int
9191
cmp_bounds(FmgrInfo *cmp_func,
9292
const Oid collid,
9393
const Bound *b1,

0 commit comments

Comments
 (0)