mirror of
https://github.com/postgres/postgres.git
synced 2025-08-12 15:23:02 +03:00
Include array size in forward declaration.
Some compilers require it. At least Visual Studio, according to the buildfarm, and gcc with the -pedantic flag.
This commit is contained in:
@@ -515,7 +515,7 @@ sub print_radix_table
|
||||
###
|
||||
### Print the struct and array.
|
||||
###
|
||||
printf $out "static const $datatype ${tblname}_table[];\n";
|
||||
printf $out "static const $datatype ${tblname}_table[$tblsize];\n";
|
||||
printf $out "\n";
|
||||
printf $out "static const pg_mb_radix_tree $tblname =\n";
|
||||
printf $out "{\n";
|
||||
|
Reference in New Issue
Block a user