Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6d849d4

Browse files
j-naylorpull[bot]
authored andcommitted
Fix redefinition of typedefs
Per buildfarm members sifaka and longfin, clang with-Wtypedef-redefinition warns of duplicate typedefs unless building withC11. Follow-up toee1b30f.Masahiko SawadaDiscussion:https://postgr.es/m/CANWCAZauSg%3DLUbBbXhpeQtBuPifmzQNTYS6O8NsoAPz1zL-Txg%40mail.gmail.com
1 parentabecdb9 commit6d849d4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/include/lib/radixtree.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ typedef struct RT_RADIX_TREE_CONTROL
676676
}RT_RADIX_TREE_CONTROL;
677677

678678
/* Entry point for allocating and accessing the tree */
679-
typedefstructRT_RADIX_TREE
679+
structRT_RADIX_TREE
680680
{
681681
MemoryContextcontext;
682682

@@ -691,7 +691,7 @@ typedef struct RT_RADIX_TREE
691691
/* leaf_context is used only for single-value leaves */
692692
MemoryContextData*leaf_context;
693693
#endif
694-
}RT_RADIX_TREE;
694+
};
695695

696696
/*
697697
* Iteration support.
@@ -714,7 +714,7 @@ typedef struct RT_NODE_ITER
714714
}RT_NODE_ITER;
715715

716716
/* state for iterating over the whole radix tree */
717-
typedefstructRT_ITER
717+
structRT_ITER
718718
{
719719
RT_RADIX_TREE*tree;
720720

@@ -728,7 +728,7 @@ typedef struct RT_ITER
728728

729729
/* The key constructed during iteration */
730730
uint64key;
731-
}RT_ITER;
731+
};
732732

733733

734734
/* verification (available only in assert-enabled builds) */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp