aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-09-30 21:48:58 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-09-30 21:48:58 +0000
commit12054ba506735be7687a20e1e6d307074f032c7b (patch)
tree2df9e266a4c769952b936834719ec726169ff8dc
parentb16a8f49a7129036a1deb909bfbe70a4accae04f (diff)
downloadpostgresql-12054ba506735be7687a20e1e6d307074f032c7b.tar.gz
postgresql-12054ba506735be7687a20e1e6d307074f032c7b.zip
Fix sloppiness about static vs non-static declaration of functions.
Some compilers are pickier about this than gcc is.
-rw-r--r--src/interfaces/odbc/convert.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interfaces/odbc/convert.c b/src/interfaces/odbc/convert.c
index 3b14c210ce8..e5954ae75d1 100644
--- a/src/interfaces/odbc/convert.c
+++ b/src/interfaces/odbc/convert.c
@@ -1711,7 +1711,7 @@ copy_statement_with_parameters(StatementClass *stmt)
}
-char *
+static char *
mapFunction(const char *func)
{
int i;
@@ -2020,7 +2020,7 @@ convert_pgbinary_to_char(const char *value, char *rgbValue, int cbValueMax)
}
-unsigned int
+static unsigned int
conv_from_octal(const unsigned char *s)
{
int i,
@@ -2034,7 +2034,7 @@ conv_from_octal(const unsigned char *s)
}
-unsigned int
+static unsigned int
conv_from_hex(const unsigned char *s)
{
int i,
@@ -2092,7 +2092,7 @@ convert_from_pgbinary(const unsigned char *value, unsigned char *rgbValue, int c
}
-char *
+static char *
conv_to_octal(unsigned char val)
{
int i;