Commit 3a1ed876 authored by Tom Lane's avatar Tom Lane

Fix inconsistent static-vs-not-static declarations.

parent 38a412ec
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/ip.c,v 1.16 2003/07/23 23:30:40 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/libpq/ip.c,v 1.17 2003/08/01 17:53:41 tgl Exp $
* *
* This file and the IPV6 implementation were initially provided by * This file and the IPV6 implementation were initially provided by
* Nigel Kukard <nkukard@lbsd.net>, Linux Based Systems Design * Nigel Kukard <nkukard@lbsd.net>, Linux Based Systems Design
...@@ -376,7 +376,7 @@ static struct sockaddr_storage sock; ...@@ -376,7 +376,7 @@ static struct sockaddr_storage sock;
return 0; return 0;
} }
int static int
rangeSockAddrAF_INET(const struct sockaddr_in *addr, const struct sockaddr_in *netaddr, rangeSockAddrAF_INET(const struct sockaddr_in *addr, const struct sockaddr_in *netaddr,
const struct sockaddr_in *netmask) const struct sockaddr_in *netmask)
{ {
...@@ -389,7 +389,7 @@ rangeSockAddrAF_INET(const struct sockaddr_in *addr, const struct sockaddr_in *n ...@@ -389,7 +389,7 @@ rangeSockAddrAF_INET(const struct sockaddr_in *addr, const struct sockaddr_in *n
#ifdef HAVE_IPV6 #ifdef HAVE_IPV6
int static int
rangeSockAddrAF_INET6(const struct sockaddr_in6 *addr, rangeSockAddrAF_INET6(const struct sockaddr_in6 *addr,
const struct sockaddr_in6 *netaddr, const struct sockaddr_in6 *netaddr,
const struct sockaddr_in6 *netmask) const struct sockaddr_in6 *netmask)
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/pquery.c,v 1.67 2003/07/22 19:00:12 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/tcop/pquery.c,v 1.68 2003/08/01 17:57:42 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -507,7 +507,7 @@ PortalRun(Portal portal, long count, ...@@ -507,7 +507,7 @@ PortalRun(Portal portal, long count,
* *
* Returns number of rows processed (suitable for use in result tag) * Returns number of rows processed (suitable for use in result tag)
*/ */
long static long
PortalRunSelect(Portal portal, PortalRunSelect(Portal portal,
bool forward, bool forward,
long count, long count,
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* back to source text * back to source text
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/ruleutils.c,v 1.147 2003/07/30 22:56:23 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/ruleutils.c,v 1.148 2003/08/01 18:00:19 tgl Exp $
* *
* This software is copyrighted by Jan Wieck - Hamburg. * This software is copyrighted by Jan Wieck - Hamburg.
* *
...@@ -1298,7 +1298,7 @@ deparse_expression(Node *expr, List *dpcontext, ...@@ -1298,7 +1298,7 @@ deparse_expression(Node *expr, List *dpcontext,
* The result is a palloc'd string. * The result is a palloc'd string.
* ---------- * ----------
*/ */
char * static char *
deparse_expression_pretty(Node *expr, List *dpcontext, deparse_expression_pretty(Node *expr, List *dpcontext,
bool forceprefix, bool showimplicit, bool forceprefix, bool showimplicit,
int prettyFlags, int startIndent) int prettyFlags, int startIndent)
......
...@@ -228,9 +228,6 @@ do { \ ...@@ -228,9 +228,6 @@ do { \
* Date/time validation * Date/time validation
* Include check for leap year. * Include check for leap year.
*/ */
extern int day_tab[2][13];
#define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) #define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0))
/* Julian date support for date2j() and j2date() /* Julian date support for date2j() and j2date()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment