Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit12054ba

Browse files
committed
Fix sloppiness about static vs non-static declaration of functions.
Some compilers are pickier about this than gcc is.
1 parentb16a8f4 commit12054ba

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+
staticchar*
17151715
mapFunction(constchar*func)
17161716
{
17171717
inti;
@@ -2020,7 +2020,7 @@ convert_pgbinary_to_char(const char *value, char *rgbValue, int cbValueMax)
20202020
}
20212021

20222022

2023-
unsignedint
2023+
staticunsignedint
20242024
conv_from_octal(constunsignedchar*s)
20252025
{
20262026
inti,
@@ -2034,7 +2034,7 @@ conv_from_octal(const unsigned char *s)
20342034
}
20352035

20362036

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

20942094

2095-
char*
2095+
staticchar*
20962096
conv_to_octal(unsignedcharval)
20972097
{
20982098
inti;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp