66 * Copyright (c) 2008-2010, PostgreSQL Global Development Group
77 *
88 * IDENTIFICATION
9- * $PostgreSQL: pgsql/contrib/auto_explain/auto_explain.c,v 1.11 2010/01/02 16:57:32 momjian Exp $
9+ * $PostgreSQL: pgsql/contrib/auto_explain/auto_explain.c,v 1.12 2010/01/06 18:07:19 tgl Exp $
1010 *
1111 *-------------------------------------------------------------------------
1212 */
@@ -151,7 +151,7 @@ _PG_fini(void)
151151/*
152152 * ExecutorStart hook: start up logging if needed
153153 */
154- void
154+ static void
155155explain_ExecutorStart (QueryDesc * queryDesc ,int eflags )
156156{
157157if (auto_explain_enabled ())
@@ -191,7 +191,7 @@ explain_ExecutorStart(QueryDesc *queryDesc, int eflags)
191191/*
192192 * ExecutorRun hook: all we need do is track nesting depth
193193 */
194- void
194+ static void
195195explain_ExecutorRun (QueryDesc * queryDesc ,ScanDirection direction ,long count )
196196{
197197nesting_level ++ ;
@@ -214,7 +214,7 @@ explain_ExecutorRun(QueryDesc *queryDesc, ScanDirection direction, long count)
214214/*
215215 * ExecutorEnd hook: log results if needed
216216 */
217- void
217+ static void
218218explain_ExecutorEnd (QueryDesc * queryDesc )
219219{
220220if (queryDesc -> totaltime && auto_explain_enabled ())