diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2021-12-06 00:38:00 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2021-12-06 00:38:00 +0300 |
commit | 0578921063fbb081239439062215f2538a31af4b (patch) | |
tree | 27146d1307cbc08e9fafeba17f899840daa8cba9 /source/blender/nodes/shader | |
parent | c20098e6ec6adee874a12e510aa4a56d89f92838 (diff) |
Cleanup: clang-tidy: modernize-redundant-void-arg
This change follows up on recent c --> c++ conversions
Diffstat (limited to 'source/blender/nodes/shader')
91 files changed, 97 insertions, 97 deletions
diff --git a/source/blender/nodes/shader/node_shader_tree.cc b/source/blender/nodes/shader/node_shader_tree.cc index f3cc95bbf62..c26b25a534e 100644 --- a/source/blender/nodes/shader/node_shader_tree.cc +++ b/source/blender/nodes/shader/node_shader_tree.cc @@ -189,7 +189,7 @@ static bool shader_node_tree_socket_type_valid(bNodeTreeType *UNUSED(ntreetype), bNodeTreeType *ntreeType_Shader; -void register_node_tree_type_sh(void) +void register_node_tree_type_sh() { bNodeTreeType *tt = ntreeType_Shader = (bNodeTreeType *)MEM_callocN(sizeof(bNodeTreeType), "shader node tree type"); diff --git a/source/blender/nodes/shader/nodes/node_shader_add_shader.cc b/source/blender/nodes/shader/nodes/node_shader_add_shader.cc index 1e1469ba848..5ebbdc73026 100644 --- a/source/blender/nodes/shader/nodes/node_shader_add_shader.cc +++ b/source/blender/nodes/shader/nodes/node_shader_add_shader.cc @@ -42,7 +42,7 @@ static int node_shader_gpu_add_shader(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_add_shader(void) +void register_node_type_sh_add_shader() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_ambient_occlusion.cc b/source/blender/nodes/shader/nodes/node_shader_ambient_occlusion.cc index f0f32a931dd..3b8e3f3ce7e 100644 --- a/source/blender/nodes/shader/nodes/node_shader_ambient_occlusion.cc +++ b/source/blender/nodes/shader/nodes/node_shader_ambient_occlusion.cc @@ -65,7 +65,7 @@ static void node_shader_init_ambient_occlusion(bNodeTree *UNUSED(ntree), bNode * } /* node type definition */ -void register_node_type_sh_ambient_occlusion(void) +void register_node_type_sh_ambient_occlusion() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_attribute.cc b/source/blender/nodes/shader/nodes/node_shader_attribute.cc index 484197cb245..246c4b071da 100644 --- a/source/blender/nodes/shader/nodes/node_shader_attribute.cc +++ b/source/blender/nodes/shader/nodes/node_shader_attribute.cc @@ -83,7 +83,7 @@ static int node_shader_gpu_attribute(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_attribute(void) +void register_node_type_sh_attribute() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_background.cc b/source/blender/nodes/shader/nodes/node_shader_background.cc index abddae7ba98..e7174a22b06 100644 --- a/source/blender/nodes/shader/nodes/node_shader_background.cc +++ b/source/blender/nodes/shader/nodes/node_shader_background.cc @@ -42,7 +42,7 @@ static int node_shader_gpu_background(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_background(void) +void register_node_type_sh_background() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_bevel.cc b/source/blender/nodes/shader/nodes/node_shader_bevel.cc index 477a0f1c409..577af8fb294 100644 --- a/source/blender/nodes/shader/nodes/node_shader_bevel.cc +++ b/source/blender/nodes/shader/nodes/node_shader_bevel.cc @@ -55,7 +55,7 @@ static int gpu_shader_bevel(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_bevel(void) +void register_node_type_sh_bevel() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_blackbody.cc b/source/blender/nodes/shader/nodes/node_shader_blackbody.cc index ac55b3d8f0d..abaac628bae 100644 --- a/source/blender/nodes/shader/nodes/node_shader_blackbody.cc +++ b/source/blender/nodes/shader/nodes/node_shader_blackbody.cc @@ -48,7 +48,7 @@ static int node_shader_gpu_blackbody(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_blackbody(void) +void register_node_type_sh_blackbody() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_brightness.cc b/source/blender/nodes/shader/nodes/node_shader_brightness.cc index 6525d474437..e87c78d0a0b 100644 --- a/source/blender/nodes/shader/nodes/node_shader_brightness.cc +++ b/source/blender/nodes/shader/nodes/node_shader_brightness.cc @@ -42,7 +42,7 @@ static int gpu_shader_brightcontrast(GPUMaterial *mat, return GPU_stack_link(mat, node, "brightness_contrast", in, out); } -void register_node_type_sh_brightcontrast(void) +void register_node_type_sh_brightcontrast() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_bsdf_anisotropic.cc b/source/blender/nodes/shader/nodes/node_shader_bsdf_anisotropic.cc index 97f229103c7..3237ed2e4d5 100644 --- a/source/blender/nodes/shader/nodes/node_shader_bsdf_anisotropic.cc +++ b/source/blender/nodes/shader/nodes/node_shader_bsdf_anisotropic.cc @@ -65,7 +65,7 @@ static int node_shader_gpu_bsdf_anisotropic(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_bsdf_anisotropic(void) +void register_node_type_sh_bsdf_anisotropic() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_bsdf_diffuse.cc b/source/blender/nodes/shader/nodes/node_shader_bsdf_diffuse.cc index 068ba86fa0f..b838881ba61 100644 --- a/source/blender/nodes/shader/nodes/node_shader_bsdf_diffuse.cc +++ b/source/blender/nodes/shader/nodes/node_shader_bsdf_diffuse.cc @@ -49,7 +49,7 @@ static int node_shader_gpu_bsdf_diffuse(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_bsdf_diffuse(void) +void register_node_type_sh_bsdf_diffuse() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_bsdf_glass.cc b/source/blender/nodes/shader/nodes/node_shader_bsdf_glass.cc index 8ab28b76e37..67311777da6 100644 --- a/source/blender/nodes/shader/nodes/node_shader_bsdf_glass.cc +++ b/source/blender/nodes/shader/nodes/node_shader_bsdf_glass.cc @@ -67,7 +67,7 @@ static int node_shader_gpu_bsdf_glass(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_bsdf_glass(void) +void register_node_type_sh_bsdf_glass() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_bsdf_glossy.cc b/source/blender/nodes/shader/nodes/node_shader_bsdf_glossy.cc index b0b0544f0a8..1ec0203347f 100644 --- a/source/blender/nodes/shader/nodes/node_shader_bsdf_glossy.cc +++ b/source/blender/nodes/shader/nodes/node_shader_bsdf_glossy.cc @@ -66,7 +66,7 @@ static int node_shader_gpu_bsdf_glossy(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_bsdf_glossy(void) +void register_node_type_sh_bsdf_glossy() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_bsdf_hair.cc b/source/blender/nodes/shader/nodes/node_shader_bsdf_hair.cc index 1b97bbdeea5..8969e53731e 100644 --- a/source/blender/nodes/shader/nodes/node_shader_bsdf_hair.cc +++ b/source/blender/nodes/shader/nodes/node_shader_bsdf_hair.cc @@ -45,7 +45,7 @@ static int node_shader_gpu_bsdf_hair(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_bsdf_hair(void) +void register_node_type_sh_bsdf_hair() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_bsdf_hair_principled.cc b/source/blender/nodes/shader/nodes/node_shader_bsdf_hair_principled.cc index 5cd011bc121..930c40b5720 100644 --- a/source/blender/nodes/shader/nodes/node_shader_bsdf_hair_principled.cc +++ b/source/blender/nodes/shader/nodes/node_shader_bsdf_hair_principled.cc @@ -91,7 +91,7 @@ static void node_shader_update_hair_principled(bNodeTree *ntree, bNode *node) } /* node type definition */ -void register_node_type_sh_bsdf_hair_principled(void) +void register_node_type_sh_bsdf_hair_principled() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_bsdf_principled.cc b/source/blender/nodes/shader/nodes/node_shader_bsdf_principled.cc index f7b672cd682..61c0a14c67f 100644 --- a/source/blender/nodes/shader/nodes/node_shader_bsdf_principled.cc +++ b/source/blender/nodes/shader/nodes/node_shader_bsdf_principled.cc @@ -184,7 +184,7 @@ static void node_shader_update_principled(bNodeTree *ntree, bNode *node) } /* node type definition */ -void register_node_type_sh_bsdf_principled(void) +void register_node_type_sh_bsdf_principled() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_bsdf_refraction.cc b/source/blender/nodes/shader/nodes/node_shader_bsdf_refraction.cc index 6935a1c5838..3f50e33c316 100644 --- a/source/blender/nodes/shader/nodes/node_shader_bsdf_refraction.cc +++ b/source/blender/nodes/shader/nodes/node_shader_bsdf_refraction.cc @@ -59,7 +59,7 @@ static int node_shader_gpu_bsdf_refraction(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_bsdf_refraction(void) +void register_node_type_sh_bsdf_refraction() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_bsdf_toon.cc b/source/blender/nodes/shader/nodes/node_shader_bsdf_toon.cc index deea690cefd..4eae82a8eae 100644 --- a/source/blender/nodes/shader/nodes/node_shader_bsdf_toon.cc +++ b/source/blender/nodes/shader/nodes/node_shader_bsdf_toon.cc @@ -50,7 +50,7 @@ static int node_shader_gpu_bsdf_toon(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_bsdf_toon(void) +void register_node_type_sh_bsdf_toon() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_bsdf_translucent.cc b/source/blender/nodes/shader/nodes/node_shader_bsdf_translucent.cc index 690daacce91..0e8b4cfe62f 100644 --- a/source/blender/nodes/shader/nodes/node_shader_bsdf_translucent.cc +++ b/source/blender/nodes/shader/nodes/node_shader_bsdf_translucent.cc @@ -48,7 +48,7 @@ static int node_shader_gpu_bsdf_translucent(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_bsdf_translucent(void) +void register_node_type_sh_bsdf_translucent() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_bsdf_transparent.cc b/source/blender/nodes/shader/nodes/node_shader_bsdf_transparent.cc index 869bf4b64cb..39b925e0222 100644 --- a/source/blender/nodes/shader/nodes/node_shader_bsdf_transparent.cc +++ b/source/blender/nodes/shader/nodes/node_shader_bsdf_transparent.cc @@ -41,7 +41,7 @@ static int node_shader_gpu_bsdf_transparent(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_bsdf_transparent(void) +void register_node_type_sh_bsdf_transparent() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_bsdf_velvet.cc b/source/blender/nodes/shader/nodes/node_shader_bsdf_velvet.cc index 2b770b1cc4f..f5c02c620aa 100644 --- a/source/blender/nodes/shader/nodes/node_shader_bsdf_velvet.cc +++ b/source/blender/nodes/shader/nodes/node_shader_bsdf_velvet.cc @@ -49,7 +49,7 @@ static int node_shader_gpu_bsdf_velvet(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_bsdf_velvet(void) +void register_node_type_sh_bsdf_velvet() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_bump.cc b/source/blender/nodes/shader/nodes/node_shader_bump.cc index 8b1c027fa6e..6e520b159c9 100644 --- a/source/blender/nodes/shader/nodes/node_shader_bump.cc +++ b/source/blender/nodes/shader/nodes/node_shader_bump.cc @@ -55,7 +55,7 @@ static int gpu_shader_bump(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_bump(void) +void register_node_type_sh_bump() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_camera.cc b/source/blender/nodes/shader/nodes/node_shader_camera.cc index 1ece58735a7..0dfc72adc74 100644 --- a/source/blender/nodes/shader/nodes/node_shader_camera.cc +++ b/source/blender/nodes/shader/nodes/node_shader_camera.cc @@ -44,7 +44,7 @@ static int gpu_shader_camera(GPUMaterial *mat, return GPU_stack_link(mat, node, "camera", in, out, viewvec); } -void register_node_type_sh_camera(void) +void register_node_type_sh_camera() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_clamp.cc b/source/blender/nodes/shader/nodes/node_shader_clamp.cc index 521b45d4fea..f8ba1359ed5 100644 --- a/source/blender/nodes/shader/nodes/node_shader_clamp.cc +++ b/source/blender/nodes/shader/nodes/node_shader_clamp.cc @@ -75,7 +75,7 @@ static void sh_node_clamp_build_multi_function(blender::nodes::NodeMultiFunction } } -void register_node_type_sh_clamp(void) +void register_node_type_sh_clamp() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_common.cc b/source/blender/nodes/shader/nodes/node_shader_common.cc index 9eda8efa8a1..9bbda6a2bda 100644 --- a/source/blender/nodes/shader/nodes/node_shader_common.cc +++ b/source/blender/nodes/shader/nodes/node_shader_common.cc @@ -212,7 +212,7 @@ static int gpu_group_execute( return 1; } -void register_node_type_sh_group(void) +void register_node_type_sh_group() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_curves.cc b/source/blender/nodes/shader/nodes/node_shader_curves.cc index e90f11eddd1..77eaeebb330 100644 --- a/source/blender/nodes/shader/nodes/node_shader_curves.cc +++ b/source/blender/nodes/shader/nodes/node_shader_curves.cc @@ -152,7 +152,7 @@ static void sh_node_curve_vec_build_multi_function( builder.construct_and_set_matching_fn<CurveVecFunction>(*cumap); } -void register_node_type_sh_curve_vec(void) +void register_node_type_sh_curve_vec() { static bNodeType ntype; @@ -329,7 +329,7 @@ static void sh_node_curve_rgb_build_multi_function( builder.construct_and_set_matching_fn<CurveRGBFunction>(*cumap); } -void register_node_type_sh_curve_rgb(void) +void register_node_type_sh_curve_rgb() { static bNodeType ntype; @@ -473,7 +473,7 @@ static void sh_node_curve_float_build_multi_function( builder.construct_and_set_matching_fn<CurveFloatFunction>(*cumap); } -void register_node_type_sh_curve_float(void) +void register_node_type_sh_curve_float() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_displacement.cc b/source/blender/nodes/shader/nodes/node_shader_displacement.cc index 77aa08790a8..ca21870d360 100644 --- a/source/blender/nodes/shader/nodes/node_shader_displacement.cc +++ b/source/blender/nodes/shader/nodes/node_shader_displacement.cc @@ -69,7 +69,7 @@ static int gpu_shader_displacement(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_displacement(void) +void register_node_type_sh_displacement() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_eevee_specular.cc b/source/blender/nodes/shader/nodes/node_shader_eevee_specular.cc index 28a19e3a53f..bbe51b7b751 100644 --- a/source/blender/nodes/shader/nodes/node_shader_eevee_specular.cc +++ b/source/blender/nodes/shader/nodes/node_shader_eevee_specular.cc @@ -87,7 +87,7 @@ static int node_shader_gpu_eevee_specular(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_eevee_specular(void) +void register_node_type_sh_eevee_specular() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_emission.cc b/source/blender/nodes/shader/nodes/node_shader_emission.cc index 9ad23484466..f759092a7b2 100644 --- a/source/blender/nodes/shader/nodes/node_shader_emission.cc +++ b/source/blender/nodes/shader/nodes/node_shader_emission.cc @@ -42,7 +42,7 @@ static int node_shader_gpu_emission(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_emission(void) +void register_node_type_sh_emission() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_fresnel.cc b/source/blender/nodes/shader/nodes/node_shader_fresnel.cc index a1b5a78e414..2c2c1bba245 100644 --- a/source/blender/nodes/shader/nodes/node_shader_fresnel.cc +++ b/source/blender/nodes/shader/nodes/node_shader_fresnel.cc @@ -58,7 +58,7 @@ static void node_shader_exec_fresnel(void *UNUSED(data), } /* node type definition */ -void register_node_type_sh_fresnel(void) +void register_node_type_sh_fresnel() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_gamma.cc b/source/blender/nodes/shader/nodes/node_shader_gamma.cc index 5b5354f39e5..f9389475694 100644 --- a/source/blender/nodes/shader/nodes/node_shader_gamma.cc +++ b/source/blender/nodes/shader/nodes/node_shader_gamma.cc @@ -58,7 +58,7 @@ static int node_shader_gpu_gamma(GPUMaterial *mat, return GPU_stack_link(mat, node, "node_gamma", in, out); } -void register_node_type_sh_gamma(void) +void register_node_type_sh_gamma() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_geometry.cc b/source/blender/nodes/shader/nodes/node_shader_geometry.cc index 2a19bda371c..620a571f2f4 100644 --- a/source/blender/nodes/shader/nodes/node_shader_geometry.cc +++ b/source/blender/nodes/shader/nodes/node_shader_geometry.cc @@ -87,7 +87,7 @@ static int node_shader_gpu_geometry(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_geometry(void) +void register_node_type_sh_geometry() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_hair_info.cc b/source/blender/nodes/shader/nodes/node_shader_hair_info.cc index a23537e8a1f..7f106f251d1 100644 --- a/source/blender/nodes/shader/nodes/node_shader_hair_info.cc +++ b/source/blender/nodes/shader/nodes/node_shader_hair_info.cc @@ -44,7 +44,7 @@ static int node_shader_gpu_hair_info(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_hair_info(void) +void register_node_type_sh_hair_info() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_holdout.cc b/source/blender/nodes/shader/nodes/node_shader_holdout.cc index 05a45ad72f1..55833660110 100644 --- a/source/blender/nodes/shader/nodes/node_shader_holdout.cc +++ b/source/blender/nodes/shader/nodes/node_shader_holdout.cc @@ -40,7 +40,7 @@ static int gpu_shader_rgb(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_holdout(void) +void register_node_type_sh_holdout() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_hueSatVal.cc b/source/blender/nodes/shader/nodes/node_shader_hueSatVal.cc index 976e1b48489..efa9365c37e 100644 --- a/source/blender/nodes/shader/nodes/node_shader_hueSatVal.cc +++ b/source/blender/nodes/shader/nodes/node_shader_hueSatVal.cc @@ -85,7 +85,7 @@ static int gpu_shader_hue_sat(GPUMaterial *mat, return GPU_stack_link(mat, node, "hue_sat", in, out); } -void register_node_type_sh_hue_sat(void) +void register_node_type_sh_hue_sat() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_ies_light.cc b/source/blender/nodes/shader/nodes/node_shader_ies_light.cc index 03cfe7b977c..50793a48a21 100644 --- a/source/blender/nodes/shader/nodes/node_shader_ies_light.cc +++ b/source/blender/nodes/shader/nodes/node_shader_ies_light.cc @@ -40,7 +40,7 @@ static void node_shader_init_tex_ies(bNodeTree *UNUSED(ntree), bNode *node) } /* node type definition */ -void register_node_type_sh_tex_ies(void) +void register_node_type_sh_tex_ies() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_invert.cc b/source/blender/nodes/shader/nodes/node_shader_invert.cc index b65288f6378..8b6b5ca0a01 100644 --- a/source/blender/nodes/shader/nodes/node_shader_invert.cc +++ b/source/blender/nodes/shader/nodes/node_shader_invert.cc @@ -65,7 +65,7 @@ static int gpu_shader_invert(GPUMaterial *mat, return GPU_stack_link(mat, node, "invert", in, out); } -void register_node_type_sh_invert(void) +void register_node_type_sh_invert() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_layer_weight.cc b/source/blender/nodes/shader/nodes/node_shader_layer_weight.cc index c479f9df7d1..dbb4fb619c4 100644 --- a/source/blender/nodes/shader/nodes/node_shader_layer_weight.cc +++ b/source/blender/nodes/shader/nodes/node_shader_layer_weight.cc @@ -60,7 +60,7 @@ static void node_shader_exec_layer_weight(void *UNUSED(data), } /* node type definition */ -void register_node_type_sh_layer_weight(void) +void register_node_type_sh_layer_weight() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_light_falloff.cc b/source/blender/nodes/shader/nodes/node_shader_light_falloff.cc index f931357a0d6..c9118135e5f 100644 --- a/source/blender/nodes/shader/nodes/node_shader_light_falloff.cc +++ b/source/blender/nodes/shader/nodes/node_shader_light_falloff.cc @@ -46,7 +46,7 @@ static int node_shader_gpu_light_falloff(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_light_falloff(void) +void register_node_type_sh_light_falloff() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_light_path.cc b/source/blender/nodes/shader/nodes/node_shader_light_path.cc index ef480ba99e0..73923a5bf43 100644 --- a/source/blender/nodes/shader/nodes/node_shader_light_path.cc +++ b/source/blender/nodes/shader/nodes/node_shader_light_path.cc @@ -48,7 +48,7 @@ static int node_shader_gpu_light_path(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_light_path(void) +void register_node_type_sh_light_path() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_map_range.cc b/source/blender/nodes/shader/nodes/node_shader_map_range.cc index 14dfb9b845c..929f016c475 100644 --- a/source/blender/nodes/shader/nodes/node_shader_map_range.cc +++ b/source/blender/nodes/shader/nodes/node_shader_map_range.cc @@ -307,7 +307,7 @@ static void sh_node_map_range_build_multi_function( } } -void register_node_type_sh_map_range(void) +void register_node_type_sh_map_range() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_mapping.cc b/source/blender/nodes/shader/nodes/node_shader_mapping.cc index f823bc9ab26..45141b11362 100644 --- a/source/blender/nodes/shader/nodes/node_shader_mapping.cc +++ b/source/blender/nodes/shader/nodes/node_shader_mapping.cc @@ -64,7 +64,7 @@ static void node_shader_update_mapping(bNodeTree *ntree, bNode *node) ntree, sock, ELEM(node->custom1, NODE_MAPPING_TYPE_POINT, NODE_MAPPING_TYPE_TEXTURE)); } -void register_node_type_sh_mapping(void) +void register_node_type_sh_mapping() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_math.cc b/source/blender/nodes/shader/nodes/node_shader_math.cc index 832c925828d..aa6d3e4fc6a 100644 --- a/source/blender/nodes/shader/nodes/node_shader_math.cc +++ b/source/blender/nodes/shader/nodes/node_shader_math.cc @@ -161,7 +161,7 @@ static void sh_node_math_build_multi_function(blender::nodes::NodeMultiFunctionB } } -void register_node_type_sh_math(void) +void register_node_type_sh_math() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_mixRgb.cc b/source/blender/nodes/shader/nodes/node_shader_mixRgb.cc index 6117763e488..77bddc75442 100644 --- a/source/blender/nodes/shader/nodes/node_shader_mixRgb.cc +++ b/source/blender/nodes/shader/nodes/node_shader_mixRgb.cc @@ -183,7 +183,7 @@ static void sh_node_mix_rgb_build_multi_function(blender::nodes::NodeMultiFuncti builder.construct_and_set_matching_fn<MixRGBFunction>(clamp, mix_type); } -void register_node_type_sh_mix_rgb(void) +void register_node_type_sh_mix_rgb() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_mix_shader.cc b/source/blender/nodes/shader/nodes/node_shader_mix_shader.cc index aca99e3d66b..ee27a4150a1 100644 --- a/source/blender/nodes/shader/nodes/node_shader_mix_shader.cc +++ b/source/blender/nodes/shader/nodes/node_shader_mix_shader.cc @@ -43,7 +43,7 @@ static int node_shader_gpu_mix_shader(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_mix_shader(void) +void register_node_type_sh_mix_shader() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_normal.cc b/source/blender/nodes/shader/nodes/node_shader_normal.cc index 686a5d47afc..6aad5cb88f2 100644 --- a/source/blender/nodes/shader/nodes/node_shader_normal.cc +++ b/source/blender/nodes/shader/nodes/node_shader_normal.cc @@ -64,7 +64,7 @@ static int gpu_shader_normal(GPUMaterial *mat, return GPU_stack_link(mat, node, "normal_new_shading", in, out, vec); } -void register_node_type_sh_normal(void) +void register_node_type_sh_normal() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_normal_map.cc b/source/blender/nodes/shader/nodes/node_shader_normal_map.cc index ab4191a0608..09ff6d716ab 100644 --- a/source/blender/nodes/shader/nodes/node_shader_normal_map.cc +++ b/source/blender/nodes/shader/nodes/node_shader_normal_map.cc @@ -116,7 +116,7 @@ static int gpu_shader_normal_map(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_normal_map(void) +void register_node_type_sh_normal_map() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_object_info.cc b/source/blender/nodes/shader/nodes/node_shader_object_info.cc index 6dd438c6e16..42b163bfaa2 100644 --- a/source/blender/nodes/shader/nodes/node_shader_object_info.cc +++ b/source/blender/nodes/shader/nodes/node_shader_object_info.cc @@ -49,7 +49,7 @@ static int node_shader_gpu_object_info(GPUMaterial *mat, GPU_constant(&index)); } -void register_node_type_sh_object_info(void) +void register_node_type_sh_object_info() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_output_aov.cc b/source/blender/nodes/shader/nodes/node_shader_output_aov.cc index be08f074a48..3e6fadf58c0 100644 --- a/source/blender/nodes/shader/nodes/node_shader_output_aov.cc +++ b/source/blender/nodes/shader/nodes/node_shader_output_aov.cc @@ -54,7 +54,7 @@ static int node_shader_gpu_output_aov(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_output_aov(void) +void register_node_type_sh_output_aov() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_output_light.cc b/source/blender/nodes/shader/nodes/node_shader_output_light.cc index 5fd4bcc440b..3d2f65aa311 100644 --- a/source/blender/nodes/shader/nodes/node_shader_output_light.cc +++ b/source/blender/nodes/shader/nodes/node_shader_output_light.cc @@ -27,7 +27,7 @@ static bNodeSocketTemplate sh_node_output_light_in[] = { }; /* node type definition */ -void register_node_type_sh_output_light(void) +void register_node_type_sh_output_light() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_output_linestyle.cc b/source/blender/nodes/shader/nodes/node_shader_output_linestyle.cc index da8206231d2..9dbdb2e6749 100644 --- a/source/blender/nodes/shader/nodes/node_shader_output_linestyle.cc +++ b/source/blender/nodes/shader/nodes/node_shader_output_linestyle.cc @@ -30,7 +30,7 @@ static bNodeSocketTemplate sh_node_output_linestyle_in[] = { }; /* node type definition */ -void register_node_type_sh_output_linestyle(void) +void register_node_type_sh_output_linestyle() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_output_material.cc b/source/blender/nodes/shader/nodes/node_shader_output_material.cc index 5ad6e340951..aa9a325ae66 100644 --- a/source/blender/nodes/shader/nodes/node_shader_output_material.cc +++ b/source/blender/nodes/shader/nodes/node_shader_output_material.cc @@ -74,7 +74,7 @@ static int node_shader_gpu_output_material(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_output_material(void) +void register_node_type_sh_output_material() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_output_world.cc b/source/blender/nodes/shader/nodes/node_shader_output_world.cc index 0336a9a5942..07b32a4ac96 100644 --- a/source/blender/nodes/shader/nodes/node_shader_output_world.cc +++ b/source/blender/nodes/shader/nodes/node_shader_output_world.cc @@ -42,7 +42,7 @@ static int node_shader_gpu_output_world(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_output_world(void) +void register_node_type_sh_output_world() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_particle_info.cc b/source/blender/nodes/shader/nodes/node_shader_particle_info.cc index 8f8ff077e74..4aa1b5130eb 100644 --- a/source/blender/nodes/shader/nodes/node_shader_particle_info.cc +++ b/source/blender/nodes/shader/nodes/node_shader_particle_info.cc @@ -63,7 +63,7 @@ static int gpu_shader_particle_info(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_particle_info(void) +void register_node_type_sh_particle_info() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_rgb.cc b/source/blender/nodes/shader/nodes/node_shader_rgb.cc index a3f8c69f61f..2ae4e13decc 100644 --- a/source/blender/nodes/shader/nodes/node_shader_rgb.cc +++ b/source/blender/nodes/shader/nodes/node_shader_rgb.cc @@ -39,7 +39,7 @@ static int gpu_shader_rgb(GPUMaterial *mat, return GPU_stack_link(mat, node, "set_rgba", in, out, link); } -void register_node_type_sh_rgb(void) +void register_node_type_sh_rgb() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_script.cc b/source/blender/nodes/shader/nodes/node_shader_script.cc index b7062ba0c8f..09123d627c0 100644 --- a/source/blender/nodes/shader/nodes/node_shader_script.cc +++ b/source/blender/nodes/shader/nodes/node_shader_script.cc @@ -59,7 +59,7 @@ static void node_copy_script(bNodeTree *UNUSED(dest_ntree), dest_node->storage = dest_nss; } -void register_node_type_sh_script(void) +void register_node_type_sh_script() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_sepcombHSV.cc b/source/blender/nodes/shader/nodes/node_shader_sepcombHSV.cc index 64f1632a46e..8e496d1bc15 100644 --- a/source/blender/nodes/shader/nodes/node_shader_sepcombHSV.cc +++ b/source/blender/nodes/shader/nodes/node_shader_sepcombHSV.cc @@ -57,7 +57,7 @@ static int gpu_shader_sephsv(GPUMaterial *mat, return GPU_stack_link(mat, node, "separate_hsv", in, out); } -void register_node_type_sh_sephsv(void) +void register_node_type_sh_sephsv() { static bNodeType ntype; @@ -105,7 +105,7 @@ static int gpu_shader_combhsv(GPUMaterial *mat, return GPU_stack_link(mat, node, "combine_hsv", in, out); } -void register_node_type_sh_combhsv(void) +void register_node_type_sh_combhsv() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_sepcombRGB.cc b/source/blender/nodes/shader/nodes/node_shader_sepcombRGB.cc index 73344fcbd33..fab8f9bfd18 100644 --- a/source/blender/nodes/shader/nodes/node_shader_sepcombRGB.cc +++ b/source/blender/nodes/shader/nodes/node_shader_sepcombRGB.cc @@ -103,7 +103,7 @@ static void sh_node_seprgb_build_multi_function(blender::nodes::NodeMultiFunctio builder.set_matching_fn(fn); } -void register_node_type_sh_seprgb(void) +void register_node_type_sh_seprgb() { static bNodeType ntype; @@ -163,7 +163,7 @@ static void sh_node_combrgb_build_multi_function(blender::nodes::NodeMultiFuncti builder.set_matching_fn(fn); } -void register_node_type_sh_combrgb(void) +void register_node_type_sh_combrgb() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_sepcombXYZ.cc b/source/blender/nodes/shader/nodes/node_shader_sepcombXYZ.cc index 03c1cd3f76d..9101ea68bcf 100644 --- a/source/blender/nodes/shader/nodes/node_shader_sepcombXYZ.cc +++ b/source/blender/nodes/shader/nodes/node_shader_sepcombXYZ.cc @@ -88,7 +88,7 @@ static void sh_node_sepxyz_build_multi_function(blender::nodes::NodeMultiFunctio builder.set_matching_fn(separate_fn); } -void register_node_type_sh_sepxyz(void) +void register_node_type_sh_sepxyz() { static bNodeType ntype; @@ -129,7 +129,7 @@ static void sh_node_combxyz_build_multi_function(blender::nodes::NodeMultiFuncti builder.set_matching_fn(fn); } -void register_node_type_sh_combxyz(void) +void register_node_type_sh_combxyz() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_shaderToRgb.cc b/source/blender/nodes/shader/nodes/node_shader_shaderToRgb.cc index 8dcf1ed1dbb..aa224938927 100644 --- a/source/blender/nodes/shader/nodes/node_shader_shaderToRgb.cc +++ b/source/blender/nodes/shader/nodes/node_shader_shaderToRgb.cc @@ -46,7 +46,7 @@ static int node_shader_gpu_shadertorgb(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_shadertorgb(void) +void register_node_type_sh_shadertorgb() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_squeeze.cc b/source/blender/nodes/shader/nodes/node_shader_squeeze.cc index 76cbcc1bfd8..fd96cc1d48f 100644 --- a/source/blender/nodes/shader/nodes/node_shader_squeeze.cc +++ b/source/blender/nodes/shader/nodes/node_shader_squeeze.cc @@ -57,7 +57,7 @@ static int gpu_shader_squeeze(GPUMaterial *mat, return GPU_stack_link(mat, node, "squeeze", in, out); } -void register_node_type_sh_squeeze(void) +void register_node_type_sh_squeeze() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_subsurface_scattering.cc b/source/blender/nodes/shader/nodes/node_shader_subsurface_scattering.cc index 70f75bdbbf2..37fe669004f 100644 --- a/source/blender/nodes/shader/nodes/node_shader_subsurface_scattering.cc +++ b/source/blender/nodes/shader/nodes/node_shader_subsurface_scattering.cc @@ -79,7 +79,7 @@ static void node_shader_update_subsurface_scattering(bNodeTree *ntree, bNode *no } /* node type definition */ -void register_node_type_sh_subsurface_scattering(void) +void register_node_type_sh_subsurface_scattering() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_tangent.cc b/source/blender/nodes/shader/nodes/node_shader_tangent.cc index abac4ace686..ae50d64ca00 100644 --- a/source/blender/nodes/shader/nodes/node_shader_tangent.cc +++ b/source/blender/nodes/shader/nodes/node_shader_tangent.cc @@ -70,7 +70,7 @@ static int node_shader_gpu_tangent(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_tangent(void) +void register_node_type_sh_tangent() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_tex_brick.cc b/source/blender/nodes/shader/nodes/node_shader_tex_brick.cc index 52ee7145d07..16394c36619 100644 --- a/source/blender/nodes/shader/nodes/node_shader_tex_brick.cc +++ b/source/blender/nodes/shader/nodes/node_shader_tex_brick.cc @@ -268,7 +268,7 @@ static void sh_node_brick_build_multi_function(blender::nodes::NodeMultiFunction } // namespace blender::nodes -void register_node_type_sh_tex_brick(void) +void register_node_type_sh_tex_brick() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_tex_checker.cc b/source/blender/nodes/shader/nodes/node_shader_tex_checker.cc index 44ae9daf3be..1d97d5e41a4 100644 --- a/source/blender/nodes/shader/nodes/node_shader_tex_checker.cc +++ b/source/blender/nodes/shader/nodes/node_shader_tex_checker.cc @@ -123,7 +123,7 @@ static void sh_node_tex_checker_build_multi_function( } // namespace blender::nodes -void register_node_type_sh_tex_checker(void) +void register_node_type_sh_tex_checker() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_tex_coord.cc b/source/blender/nodes/shader/nodes/node_shader_tex_coord.cc index c257e48b975..63f0e9fc757 100644 --- a/source/blender/nodes/shader/nodes/node_shader_tex_coord.cc +++ b/source/blender/nodes/shader/nodes/node_shader_tex_coord.cc @@ -84,7 +84,7 @@ static int node_shader_gpu_tex_coord(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_tex_coord(void) +void register_node_type_sh_tex_coord() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_tex_environment.cc b/source/blender/nodes/shader/nodes/node_shader_tex_environment.cc index 1b05bc30dc0..c53d93eed69 100644 --- a/source/blender/nodes/shader/nodes/node_shader_tex_environment.cc +++ b/source/blender/nodes/shader/nodes/node_shader_tex_environment.cc @@ -134,7 +134,7 @@ static int node_shader_gpu_tex_environment(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_tex_environment(void) +void register_node_type_sh_tex_environment() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_tex_gradient.cc b/source/blender/nodes/shader/nodes/node_shader_tex_gradient.cc index ccd90e1aa88..bcc6f49e042 100644 --- a/source/blender/nodes/shader/nodes/node_shader_tex_gradient.cc +++ b/source/blender/nodes/shader/nodes/node_shader_tex_gradient.cc @@ -160,7 +160,7 @@ static void sh_node_gradient_tex_build_multi_function( } // namespace blender::nodes -void register_node_type_sh_tex_gradient(void) +void register_node_type_sh_tex_gradient() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_tex_image.cc b/source/blender/nodes/shader/nodes/node_shader_tex_image.cc index 9d8828c6b5e..b89a4f674e0 100644 --- a/source/blender/nodes/shader/nodes/node_shader_tex_image.cc +++ b/source/blender/nodes/shader/nodes/node_shader_tex_image.cc @@ -174,7 +174,7 @@ static int node_shader_gpu_tex_image(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_tex_image(void) +void register_node_type_sh_tex_image() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_tex_magic.cc b/source/blender/nodes/shader/nodes/node_shader_tex_magic.cc index afe0ad6b11a..fe1454b853e 100644 --- a/source/blender/nodes/shader/nodes/node_shader_tex_magic.cc +++ b/source/blender/nodes/shader/nodes/node_shader_tex_magic.cc @@ -181,7 +181,7 @@ static void sh_node_magic_tex_build_multi_function( } // namespace blender::nodes -void register_node_type_sh_tex_magic(void) +void register_node_type_sh_tex_magic() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_tex_musgrave.cc b/source/blender/nodes/shader/nodes/node_shader_tex_musgrave.cc index 4df18c076a0..bb2790dfa42 100644 --- a/source/blender/nodes/shader/nodes/node_shader_tex_musgrave.cc +++ b/source/blender/nodes/shader/nodes/node_shader_tex_musgrave.cc @@ -531,7 +531,7 @@ static void sh_node_musgrave_build_multi_function( } // namespace blender::nodes -void register_node_type_sh_tex_musgrave(void) +void register_node_type_sh_tex_musgrave() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_tex_noise.cc b/source/blender/nodes/shader/nodes/node_shader_tex_noise.cc index 24b2a68d00a..73bd7d232f5 100644 --- a/source/blender/nodes/shader/nodes/node_shader_tex_noise.cc +++ b/source/blender/nodes/shader/nodes/node_shader_tex_noise.cc @@ -249,7 +249,7 @@ static void sh_node_noise_build_multi_function(blender::nodes::NodeMultiFunction } // namespace blender::nodes /* node type definition */ -void register_node_type_sh_tex_noise(void) +void register_node_type_sh_tex_noise() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_tex_pointdensity.cc b/source/blender/nodes/shader/nodes/node_shader_tex_pointdensity.cc index 4daf491c40e..84ace833255 100644 --- a/source/blender/nodes/shader/nodes/node_shader_tex_pointdensity.cc +++ b/source/blender/nodes/shader/nodes/node_shader_tex_pointdensity.cc @@ -66,7 +66,7 @@ static void node_shader_copy_tex_pointdensity(bNodeTree *UNUSED(dest_ntree), } /* node type definition */ -void register_node_type_sh_tex_pointdensity(void) +void register_node_type_sh_tex_pointdensity() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_tex_sky.cc b/source/blender/nodes/shader/nodes/node_shader_tex_sky.cc index b9510e386ec..a42044a7427 100644 --- a/source/blender/nodes/shader/nodes/node_shader_tex_sky.cc +++ b/source/blender/nodes/shader/nodes/node_shader_tex_sky.cc @@ -204,7 +204,7 @@ static void node_shader_update_sky(bNodeTree *ntree, bNode *node) } /* node type definition */ -void register_node_type_sh_tex_sky(void) +void register_node_type_sh_tex_sky() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_tex_voronoi.cc b/source/blender/nodes/shader/nodes/node_shader_tex_voronoi.cc index 03d8b24c9c5..d8d963a6d1f 100644 --- a/source/blender/nodes/shader/nodes/node_shader_tex_voronoi.cc +++ b/source/blender/nodes/shader/nodes/node_shader_tex_voronoi.cc @@ -1323,7 +1323,7 @@ static void sh_node_voronoi_build_multi_function(blender::nodes::NodeMultiFuncti } // namespace blender::nodes -void register_node_type_sh_tex_voronoi(void) +void register_node_type_sh_tex_voronoi() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_tex_wave.cc b/source/blender/nodes/shader/nodes/node_shader_tex_wave.cc index b1b236f5097..d1768b4b500 100644 --- a/source/blender/nodes/shader/nodes/node_shader_tex_wave.cc +++ b/source/blender/nodes/shader/nodes/node_shader_tex_wave.cc @@ -218,7 +218,7 @@ static void sh_node_wave_tex_build_multi_function( } // namespace blender::nodes -void register_node_type_sh_tex_wave(void) +void register_node_type_sh_tex_wave() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_tex_white_noise.cc b/source/blender/nodes/shader/nodes/node_shader_tex_white_noise.cc index 12bca5434bb..6629591e5e0 100644 --- a/source/blender/nodes/shader/nodes/node_shader_tex_white_noise.cc +++ b/source/blender/nodes/shader/nodes/node_shader_tex_white_noise.cc @@ -191,7 +191,7 @@ static void sh_node_noise_build_multi_function(blender::nodes::NodeMultiFunction } // namespace blender::nodes -void register_node_type_sh_tex_white_noise(void) +void register_node_type_sh_tex_white_noise() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_uvAlongStroke.cc b/source/blender/nodes/shader/nodes/node_shader_uvAlongStroke.cc index 81ce7509b3f..275cb9a0966 100644 --- a/source/blender/nodes/shader/nodes/node_shader_uvAlongStroke.cc +++ b/source/blender/nodes/shader/nodes/node_shader_uvAlongStroke.cc @@ -27,7 +27,7 @@ static bNodeSocketTemplate sh_node_uvalongstroke_out[] = { }; /* node type definition */ -void register_node_type_sh_uvalongstroke(void) +void register_node_type_sh_uvalongstroke() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_uvmap.cc b/source/blender/nodes/shader/nodes/node_shader_uvmap.cc index fad0bfd34ba..c807e792423 100644 --- a/source/blender/nodes/shader/nodes/node_shader_uvmap.cc +++ b/source/blender/nodes/shader/nodes/node_shader_uvmap.cc @@ -52,7 +52,7 @@ static int node_shader_gpu_uvmap(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_uvmap(void) +void register_node_type_sh_uvmap() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_valToRgb.cc b/source/blender/nodes/shader/nodes/node_shader_valToRgb.cc index a33eecb3fb3..4c2b637a6cb 100644 --- a/source/blender/nodes/shader/nodes/node_shader_valToRgb.cc +++ b/source/blender/nodes/shader/nodes/node_shader_valToRgb.cc @@ -172,7 +172,7 @@ static void sh_node_valtorgb_build_multi_function( builder.construct_and_set_matching_fn<ColorBandFunction>(*color_band); } -void register_node_type_sh_valtorgb(void) +void register_node_type_sh_valtorgb() { static bNodeType ntype; @@ -222,7 +222,7 @@ static int gpu_shader_rgbtobw(GPUMaterial *mat, return GPU_stack_link(mat, node, "rgbtobw", in, out); } -void register_node_type_sh_rgbtobw(void) +void register_node_type_sh_rgbtobw() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_value.cc b/source/blender/nodes/shader/nodes/node_shader_value.cc index 4e43d29e814..19e5ba61e04 100644 --- a/source/blender/nodes/shader/nodes/node_shader_value.cc +++ b/source/blender/nodes/shader/nodes/node_shader_value.cc @@ -49,7 +49,7 @@ static void sh_node_value_build_multi_function(blender::nodes::NodeMultiFunction builder.construct_and_set_matching_fn<blender::fn::CustomMF_Constant<float>>(value->value); } -void register_node_type_sh_value(void) +void register_node_type_sh_value() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_vectTransform.cc b/source/blender/nodes/shader/nodes/node_shader_vectTransform.cc index 97df43bac9b..8947f5cf8b9 100644 --- a/source/blender/nodes/shader/nodes/node_shader_vectTransform.cc +++ b/source/blender/nodes/shader/nodes/node_shader_vectTransform.cc @@ -137,7 +137,7 @@ static int gpu_shader_vect_transform(GPUMaterial *mat, return true; } -void register_node_type_sh_vect_transform(void) +void register_node_type_sh_vect_transform() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_vector_displacement.cc b/source/blender/nodes/shader/nodes/node_shader_vector_displacement.cc index 0ab0495e8cb..7523108aec0 100644 --- a/source/blender/nodes/shader/nodes/node_shader_vector_displacement.cc +++ b/source/blender/nodes/shader/nodes/node_shader_vector_displacement.cc @@ -64,7 +64,7 @@ static int gpu_shader_vector_displacement(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_vector_displacement(void) +void register_node_type_sh_vector_displacement() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_vector_math.cc b/source/blender/nodes/shader/nodes/node_shader_vector_math.cc index 8dbff1a1967..8dc2af22e6b 100644 --- a/source/blender/nodes/shader/nodes/node_shader_vector_math.cc +++ b/source/blender/nodes/shader/nodes/node_shader_vector_math.cc @@ -279,7 +279,7 @@ static void sh_node_vector_math_build_multi_function( builder.set_matching_fn(fn); } -void register_node_type_sh_vect_math(void) +void register_node_type_sh_vect_math() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_vector_rotate.cc b/source/blender/nodes/shader/nodes/node_shader_vector_rotate.cc index e74e8307f15..3b6c3cbe026 100644 --- a/source/blender/nodes/shader/nodes/node_shader_vector_rotate.cc +++ b/source/blender/nodes/shader/nodes/node_shader_vector_rotate.cc @@ -205,7 +205,7 @@ static void node_shader_update_vector_rotate(bNodeTree *ntree, bNode *node) ntree, sock_angle, !ELEM(node->custom1, NODE_VECTOR_ROTATE_TYPE_EULER_XYZ)); } -void register_node_type_sh_vector_rotate(void) +void register_node_type_sh_vector_rotate() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_vertex_color.cc b/source/blender/nodes/shader/nodes/node_shader_vertex_color.cc index 8aea1330e70..72ba9ace7c3 100644 --- a/source/blender/nodes/shader/nodes/node_shader_vertex_color.cc +++ b/source/blender/nodes/shader/nodes/node_shader_vertex_color.cc @@ -47,7 +47,7 @@ static int node_shader_gpu_vertex_color(GPUMaterial *mat, return GPU_stack_link(mat, node, "node_vertex_color", in, out, vertexColorLink); } -void register_node_type_sh_vertex_color(void) +void register_node_type_sh_vertex_color() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_volume_absorption.cc b/source/blender/nodes/shader/nodes/node_shader_volume_absorption.cc index c0518bc2f15..8e348a69e67 100644 --- a/source/blender/nodes/shader/nodes/node_shader_volume_absorption.cc +++ b/source/blender/nodes/shader/nodes/node_shader_volume_absorption.cc @@ -42,7 +42,7 @@ static int node_shader_gpu_volume_absorption(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_volume_absorption(void) +void register_node_type_sh_volume_absorption() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_volume_info.cc b/source/blender/nodes/shader/nodes/node_shader_volume_info.cc index a7521ce6b49..112aaf4f1b1 100644 --- a/source/blender/nodes/shader/nodes/node_shader_volume_info.cc +++ b/source/blender/nodes/shader/nodes/node_shader_volume_info.cc @@ -49,7 +49,7 @@ static int node_shader_gpu_volume_info(GPUMaterial *mat, return true; } -void register_node_type_sh_volume_info(void) +void register_node_type_sh_volume_info() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_volume_principled.cc b/source/blender/nodes/shader/nodes/node_shader_volume_principled.cc index 178018fda0f..04fd8bfd58d 100644 --- a/source/blender/nodes/shader/nodes/node_shader_volume_principled.cc +++ b/source/blender/nodes/shader/nodes/node_shader_volume_principled.cc @@ -127,7 +127,7 @@ static int node_shader_gpu_volume_principled(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_volume_principled(void) +void register_node_type_sh_volume_principled() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_volume_scatter.cc b/source/blender/nodes/shader/nodes/node_shader_volume_scatter.cc index 81d4b0cdf48..14f6e6a9eb1 100644 --- a/source/blender/nodes/shader/nodes/node_shader_volume_scatter.cc +++ b/source/blender/nodes/shader/nodes/node_shader_volume_scatter.cc @@ -43,7 +43,7 @@ static int node_shader_gpu_volume_scatter(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_volume_scatter(void) +void register_node_type_sh_volume_scatter() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_wavelength.cc b/source/blender/nodes/shader/nodes/node_shader_wavelength.cc index 8ffa69125e4..8a6235c1e6f 100644 --- a/source/blender/nodes/shader/nodes/node_shader_wavelength.cc +++ b/source/blender/nodes/shader/nodes/node_shader_wavelength.cc @@ -58,7 +58,7 @@ static int node_shader_gpu_wavelength(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_wavelength(void) +void register_node_type_sh_wavelength() { static bNodeType ntype; diff --git a/source/blender/nodes/shader/nodes/node_shader_wireframe.cc b/source/blender/nodes/shader/nodes/node_shader_wireframe.cc index b70d2231eea..73ca17ab5dc 100644 --- a/source/blender/nodes/shader/nodes/node_shader_wireframe.cc +++ b/source/blender/nodes/shader/nodes/node_shader_wireframe.cc @@ -53,7 +53,7 @@ static int node_shader_gpu_wireframe(GPUMaterial *mat, } /* node type definition */ -void register_node_type_sh_wireframe(void) +void register_node_type_sh_wireframe() { static bNodeType ntype; |