8000 Add missing 'static' keywords. · postgrespro/postgres_cluster@cd95835 · GitHub
[go: up one dir, main page]

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

8000
Appearance settings

Commit cd95835

Browse files
committed
Add missing 'static' keywords.
1 parent 36f6b7c commit cd95835

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

contrib/auto_explain/auto_explain.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
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
155155
explain_ExecutorStart(QueryDesc *queryDesc, int eflags)
156156
{
157157
if (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
195195
explain_ExecutorRun(QueryDesc *queryDesc, ScanDirection direction, long count)
196196
{
197197
nesting_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
218218
explain_ExecutorEnd(QueryDesc *queryDesc)
219219
{
220220
if (queryDesc->totaltime && auto_explain_enabled())

0 commit comments

Comments
 (0)
0