OSDN Git Service
(root)
/
pg-rex
/
syncrep.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b16a8f4
)
Fix sloppiness about static vs non-static declaration of functions.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Sun, 30 Sep 2001 21:48:58 +0000
(21:48 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Sun, 30 Sep 2001 21:48:58 +0000
(21:48 +0000)
Some compilers are pickier about this than gcc is.
src/interfaces/odbc/convert.c
patch
|
blob
|
history
diff --git
a/src/interfaces/odbc/convert.c
b/src/interfaces/odbc/convert.c
index
3b14c21
..
e5954ae
100644
(file)
--- 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;