From 12054ba506735be7687a20e1e6d307074f032c7b Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 30 Sep 2001 21:48:58 +0000 Subject: [PATCH] Fix sloppiness about static vs non-static declaration of functions. Some compilers are pickier about this than gcc is. --- src/interfaces/odbc/convert.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/interfaces/odbc/convert.c b/src/interfaces/odbc/convert.c index 3b14c210ce..e5954ae75d 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; -- 2.40.0