diff --git a/source/blender/blenlib/intern/radial_tiling_shared.cc b/source/blender/blenlib/intern/radial_tiling_shared.cc index c610c20f442..bd45e7befbd 100644 --- a/source/blender/blenlib/intern/radial_tiling_shared.cc +++ b/source/blender/blenlib/intern/radial_tiling_shared.cc @@ -9,6 +9,7 @@ #include "BLI_math_base.h" #include "BLI_math_base.hh" #include "BLI_math_vector.hh" +#include "BLI_radial_tiling.hh" /* Own include (forward declare). */ namespace blender { diff --git a/source/blender/blenlib/intern/radial_tiling_shared.hh b/source/blender/blenlib/intern/radial_tiling_shared.hh index 7719bc395fe..1a3d7d83013 100644 --- a/source/blender/blenlib/intern/radial_tiling_shared.hh +++ b/source/blender/blenlib/intern/radial_tiling_shared.hh @@ -114,7 +114,7 @@ * The ratio z/w is expressed as z_R_w, which is an abbreviation of z_Ratio_y. */ #ifdef ADAPT_TO_GEOMETRY_NODES -ccl_device float4 +static ccl_device float4 calculate_out_variables_full_roundness_irregular_circular(bool calculate_r_gon_parameter_field, bool normalize_r_gon_parameter, float r_gon_sides, @@ -317,13 +317,14 @@ calculate_out_variables_full_roundness_irregular_circular(bool calculate_r_gon_p } #endif -ccl_device float4 calculate_out_variables_irregular_circular(bool calculate_r_gon_parameter_field, - bool calculate_max_unit_parameter, - bool normalize_r_gon_parameter, - float r_gon_sides, - float r_gon_roundness, - float2 coord, - float l_coord) +static ccl_device float4 +calculate_out_variables_irregular_circular(bool calculate_r_gon_parameter_field, + bool calculate_max_unit_parameter, + bool normalize_r_gon_parameter, + float r_gon_sides, + float r_gon_roundness, + float2 coord, + float l_coord) { #ifdef ADAPT_TO_SVM /* Silence compiler warnings. */