diff options
| author | Tom Lane | 2009-06-12 16:17:29 +0000 |
|---|---|---|
| committer | Tom Lane | 2009-06-12 16:17:29 +0000 |
| commit | bfd06a713b4e4c32b7da0a897783dce92be76997 (patch) | |
| tree | fdb72cf3652d1da012bb57402c8175895aee068c /src/bin | |
| parent | 63e183ca46fca8b3c910b025f09340d8c093e6c1 (diff) | |
Fix several places where a function was declared static and then defined
without static. Per testing with a compiler that complains about this.
Diffstat (limited to 'src/bin')
| -rw-r--r-- | src/bin/psql/describe.c | 4 | ||||
| -rw-r--r-- | src/bin/psql/print.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c index eb4ca76c510..d5236cae42b 100644 --- a/src/bin/psql/describe.c +++ b/src/bin/psql/describe.c @@ -8,7 +8,7 @@ * * 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" @@ -2073,7 +2073,7 @@ describeRoles(const char *pattern, bool verbose) return true; } -void +static void add_role_attribute(PQExpBuffer buf, const char *const str) { if (buf->len > 0) diff --git a/src/bin/psql/print.c b/src/bin/psql/print.c index 397aae881a8..4260143c447 100644 --- a/src/bin/psql/print.c +++ b/src/bin/psql/print.c @@ -3,7 +3,7 @@ * * 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" @@ -2170,7 +2170,7 @@ printTableCleanup(printTableContent *const content) * * Setup pager if required */ -void +static void IsPagerNeeded(const printTableContent *cont, const int extra_lines, FILE **fout, bool *is_pager) { |
