diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2001-09-30 21:48:58 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2001-09-30 21:48:58 +0000 |
commit | 12054ba506735be7687a20e1e6d307074f032c7b (patch) | |
tree | 2df9e266a4c769952b936834719ec726169ff8dc | |
parent | b16a8f49a7129036a1deb909bfbe70a4accae04f (diff) | |
download | postgresql-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.c | 8 |
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; |