Add missing 'static' keywords.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 6 Jan 2010 18:07:19 +0000 (18:07 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 6 Jan 2010 18:07:19 +0000 (18:07 +0000)
contrib/auto_explain/auto_explain.c

index 82a5ebc188f564c04c60a314c09f6595474c791b..8bc5a169200ef8c0642d6b58d5311ac4bc6160c1 100644 (file)
@@ -151,7 +151,7 @@ _PG_fini(void)
 /*
  * ExecutorStart hook: start up logging if needed
  */
-void
+static void
 explain_ExecutorStart(QueryDesc *queryDesc, int eflags)
 {
    if (auto_explain_enabled())
@@ -191,7 +191,7 @@ explain_ExecutorStart(QueryDesc *queryDesc, int eflags)
 /*
  * ExecutorRun hook: all we need do is track nesting depth
  */
-void
+static void
 explain_ExecutorRun(QueryDesc *queryDesc, ScanDirection direction, long count)
 {
    nesting_level++;
@@ -214,7 +214,7 @@ explain_ExecutorRun(QueryDesc *queryDesc, ScanDirection direction, long count)
 /*
  * ExecutorEnd hook: log results if needed
  */
-void
+static void
 explain_ExecutorEnd(QueryDesc *queryDesc)
 {
    if (queryDesc->totaltime && auto_explain_enabled())