Fix several places where a function was declared static and then defined
without static. Per testing with a compiler that complains about this.
This commit is contained in:
parent
63e183ca46
commit
bfd06a713b
@ -55,7 +55,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.98 2009/06/11 14:49:00 momjian Exp $
|
* $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.99 2009/06/12 16:17:29 tgl Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -2327,7 +2327,7 @@ deleted:
|
|||||||
* Given a relation's pg_class tuple, return the AutoVacOpts portion of
|
* Given a relation's pg_class tuple, return the AutoVacOpts portion of
|
||||||
* reloptions, if set; otherwise, return NULL.
|
* reloptions, if set; otherwise, return NULL.
|
||||||
*/
|
*/
|
||||||
AutoVacOpts *
|
static AutoVacOpts *
|
||||||
extract_autovac_opts(HeapTuple tup, TupleDesc pg_class_desc)
|
extract_autovac_opts(HeapTuple tup, TupleDesc pg_class_desc)
|
||||||
{
|
{
|
||||||
bytea *relopts;
|
bytea *relopts;
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 2000-2009, PostgreSQL Global Development Group
|
* Copyright (c) 2000-2009, PostgreSQL Global Development Group
|
||||||
*
|
*
|
||||||
* $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.216 2009/06/11 14:49:08 momjian Exp $
|
* $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.217 2009/06/12 16:17:29 tgl Exp $
|
||||||
*/
|
*/
|
||||||
#include "postgres_fe.h"
|
#include "postgres_fe.h"
|
||||||
|
|
||||||
@ -2073,7 +2073,7 @@ describeRoles(const char *pattern, bool verbose)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
add_role_attribute(PQExpBuffer buf, const char *const str)
|
add_role_attribute(PQExpBuffer buf, const char *const str)
|
||||||
{
|
{
|
||||||
if (buf->len > 0)
|
if (buf->len > 0)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 2000-2009, PostgreSQL Global Development Group
|
* Copyright (c) 2000-2009, PostgreSQL Global Development Group
|
||||||
*
|
*
|
||||||
* $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.115 2009/06/11 14:49:08 momjian Exp $
|
* $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.116 2009/06/12 16:17:29 tgl Exp $
|
||||||
*/
|
*/
|
||||||
#include "postgres_fe.h"
|
#include "postgres_fe.h"
|
||||||
|
|
||||||
@ -2170,7 +2170,7 @@ printTableCleanup(printTableContent *const content)
|
|||||||
*
|
*
|
||||||
* Setup pager if required
|
* Setup pager if required
|
||||||
*/
|
*/
|
||||||
void
|
static void
|
||||||
IsPagerNeeded(const printTableContent *cont, const int extra_lines, FILE **fout,
|
IsPagerNeeded(const printTableContent *cont, const int extra_lines, FILE **fout,
|
||||||
bool *is_pager)
|
bool *is_pager)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user