1
0
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:
Heikki Linnakangas
2017-03-13 21:53:38 +02:00
parent 57488c1ce3
commit dd12bef58c
77 changed files with 77 additions and 77 deletions

View File

@@ -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";