Skip to content

Commit 12054ba

Browse files
committed
Fix sloppiness about static vs non-static declaration of functions.
Some compilers are pickier about this than gcc is.
1 parent b16a8f4 commit 12054ba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/interfaces/odbc/convert.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1711,7 +1711,7 @@ copy_statement_with_parameters(StatementClass *stmt)
17111711
}
17121712

17131713

1714-
char *
1714+
static char *
17151715
mapFunction(const char *func)
17161716
{
17171717
int i;
@@ -2020,7 +2020,7 @@ convert_pgbinary_to_char(const char *value, char *rgbValue, int cbValueMax)
20202020
}
20212021

20222022

2023-
unsigned int
2023+
static unsigned int
20242024
conv_from_octal(const unsigned char *s)
20252025
{
20262026
int i,
@@ -2034,7 +2034,7 @@ conv_from_octal(const unsigned char *s)
20342034
}
20352035

20362036

2037-
unsigned int
2037+
static unsigned int
20382038
conv_from_hex(const unsigned char *s)
20392039
{
20402040
int i,
@@ -2092,7 +2092,7 @@ convert_from_pgbinary(const unsigned char *value, unsigned char *rgbValue, int c
20922092
}
20932093

20942094

2095-
char *
2095+
static char *
20962096
conv_to_octal(unsigned char val)
20972097
{
20982098
int i;

0 commit comments

Comments
 (0)