From 9a82e8f06bcfddf0d98b9ecebf1f130ce95c3735 Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Fri, 20 Jan 2017 15:16:35 -0800 Subject: [PATCH] Make usage of static a bit more consistent in multi_planner.c. --- src/backend/distributed/planner/multi_planner.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backend/distributed/planner/multi_planner.c b/src/backend/distributed/planner/multi_planner.c index c21665d9c..5a1afbe40 100644 --- a/src/backend/distributed/planner/multi_planner.c +++ b/src/backend/distributed/planner/multi_planner.c @@ -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);