Make usage of static a bit more consistent in multi_planner.c.

pull/1134/head
Andres Freund 2017-01-20 15:16:35 -08:00
parent 849f70a409
commit 9a82e8f06b
1 changed files with 3 additions and 3 deletions

View File

@ -405,7 +405,7 @@ multi_relation_restriction_hook(PlannerInfo *root, RelOptInfo *relOptInfo, Index
* CreateAndPushRestrictionContext creates a new restriction context, inserts it to the
* beginning of the context list, and returns the newly created context.
*/
RelationRestrictionContext *
static RelationRestrictionContext *
CreateAndPushRestrictionContext(void)
{
RelationRestrictionContext *restrictionContext =
@ -425,7 +425,7 @@ CreateAndPushRestrictionContext(void)
* CurrentRestrictionContext returns the the last restriction context from the
* list.
*/
RelationRestrictionContext *
static RelationRestrictionContext *
CurrentRestrictionContext(void)
{
RelationRestrictionContext *restrictionContext = NULL;
@ -443,7 +443,7 @@ CurrentRestrictionContext(void)
* PopRestrictionContext removes the most recently added restriction context from
* context list. The function assumes the list is not empty.
*/
void
static void
PopRestrictionContext(void)
{
relationRestrictionContextList = list_delete_first(relationRestrictionContextList);