Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitbfd06a7

Browse files
committed
Fix several places where a function was declared static and then defined
without static. Per testing with a compiler that complains about this.
1 parent63e183c commitbfd06a7

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

‎src/backend/postmaster/autovacuum.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
*
5656
*
5757
* IDENTIFICATION
58-
* $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.98 2009/06/11 14:49:00 momjian Exp $
58+
* $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.99 2009/06/12 16:17:29 tgl Exp $
5959
*
6060
*-------------------------------------------------------------------------
6161
*/
@@ -2327,7 +2327,7 @@ do_autovacuum(void)
23272327
* Given a relation's pg_class tuple, return the AutoVacOpts portion of
23282328
* reloptions, if set; otherwise, return NULL.
23292329
*/
2330-
AutoVacOpts*
2330+
staticAutoVacOpts*
23312331
extract_autovac_opts(HeapTupletup,TupleDescpg_class_desc)
23322332
{
23332333
bytea*relopts;

‎src/bin/psql/describe.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* Copyright (c) 2000-2009, PostgreSQL Global Development Group
1010
*
11-
* $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.216 2009/06/11 14:49:08 momjian Exp $
11+
* $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.217 2009/06/12 16:17:29 tgl Exp $
1212
*/
1313
#include"postgres_fe.h"
1414

@@ -2073,7 +2073,7 @@ describeRoles(const char *pattern, bool verbose)
20732073
return true;
20742074
}
20752075

2076-
void
2076+
staticvoid
20772077
add_role_attribute(PQExpBufferbuf,constchar*conststr)
20782078
{
20792079
if (buf->len>0)

‎src/bin/psql/print.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 2000-2009, PostgreSQL Global Development Group
55
*
6-
* $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.115 2009/06/11 14:49:08 momjian Exp $
6+
* $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.116 2009/06/12 16:17:29 tgl Exp $
77
*/
88
#include"postgres_fe.h"
99

@@ -2170,7 +2170,7 @@ printTableCleanup(printTableContent *const content)
21702170
*
21712171
* Setup pager if required
21722172
*/
2173-
void
2173+
staticvoid
21742174
IsPagerNeeded(constprintTableContent*cont,constintextra_lines,FILE**fout,
21752175
bool*is_pager)
21762176
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp