diff options
176 files changed, 191 insertions, 191 deletions
diff --git a/source/blender/nodes/composite/node_composite_tree.cc b/source/blender/nodes/composite/node_composite_tree.cc index a596a85b748..2561ddd0782 100644 --- a/source/blender/nodes/composite/node_composite_tree.cc +++ b/source/blender/nodes/composite/node_composite_tree.cc @@ -212,7 +212,7 @@ static bool composite_node_tree_socket_type_valid(bNodeTreeType *UNUSED(ntreetyp bNodeTreeType *ntreeType_Composite; -void register_node_tree_type_cmp(void) +void register_node_tree_type_cmp() { bNodeTreeType *tt = ntreeType_Composite = (bNodeTreeType *)MEM_callocN( sizeof(bNodeTreeType), "compositor node tree type"); diff --git a/source/blender/nodes/composite/nodes/node_composite_alphaOver.cc b/source/blender/nodes/composite/nodes/node_composite_alphaOver.cc index 262333055d7..b971b26aa6f 100644 --- a/source/blender/nodes/composite/nodes/node_composite_alphaOver.cc +++ b/source/blender/nodes/composite/nodes/node_composite_alphaOver.cc @@ -42,7 +42,7 @@ static void node_alphaover_init(bNodeTree *UNUSED(ntree), bNode *node) node->storage = MEM_callocN(sizeof(NodeTwoFloats), "NodeTwoFloats"); } -void register_node_type_cmp_alphaover(void) +void register_node_type_cmp_alphaover() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_antialiasing.cc b/source/blender/nodes/composite/nodes/node_composite_antialiasing.cc index 6adba7ee3bf..a498033733f 100644 --- a/source/blender/nodes/composite/nodes/node_composite_antialiasing.cc +++ b/source/blender/nodes/composite/nodes/node_composite_antialiasing.cc @@ -49,7 +49,7 @@ static void node_composit_init_antialiasing(bNodeTree *UNUSED(ntree), bNode *nod node->storage = data; } -void register_node_type_cmp_antialiasing(void) +void register_node_type_cmp_antialiasing() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_bilateralblur.cc b/source/blender/nodes/composite/nodes/node_composite_bilateralblur.cc index 3b1171ea11d..7ec28fba460 100644 --- a/source/blender/nodes/composite/nodes/node_composite_bilateralblur.cc +++ b/source/blender/nodes/composite/nodes/node_composite_bilateralblur.cc @@ -46,7 +46,7 @@ static void node_composit_init_bilateralblur(bNodeTree *UNUSED(ntree), bNode *no nbbd->sigma_space = 5.0; } -void register_node_type_cmp_bilateralblur(void) +void register_node_type_cmp_bilateralblur() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_blur.cc b/source/blender/nodes/composite/nodes/node_composite_blur.cc index 5cc19416471..274c2567749 100644 --- a/source/blender/nodes/composite/nodes/node_composite_blur.cc +++ b/source/blender/nodes/composite/nodes/node_composite_blur.cc @@ -44,7 +44,7 @@ static void node_composit_init_blur(bNodeTree *UNUSED(ntree), bNode *node) node->storage = data; } -void register_node_type_cmp_blur(void) +void register_node_type_cmp_blur() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_bokehblur.cc b/source/blender/nodes/composite/nodes/node_composite_bokehblur.cc index 9099cae37f1..b5f3f7c9a1e 100644 --- a/source/blender/nodes/composite/nodes/node_composite_bokehblur.cc +++ b/source/blender/nodes/composite/nodes/node_composite_bokehblur.cc @@ -45,7 +45,7 @@ static void node_composit_init_bokehblur(bNodeTree *UNUSED(ntree), bNode *node) node->custom4 = 16.0f; } -void register_node_type_cmp_bokehblur(void) +void register_node_type_cmp_bokehblur() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_bokehimage.cc b/source/blender/nodes/composite/nodes/node_composite_bokehimage.cc index 3f8a7606d94..ad4cbb47a77 100644 --- a/source/blender/nodes/composite/nodes/node_composite_bokehimage.cc +++ b/source/blender/nodes/composite/nodes/node_composite_bokehimage.cc @@ -45,7 +45,7 @@ static void node_composit_init_bokehimage(bNodeTree *UNUSED(ntree), bNode *node) node->storage = data; } -void register_node_type_cmp_bokehimage(void) +void register_node_type_cmp_bokehimage() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_boxmask.cc b/source/blender/nodes/composite/nodes/node_composite_boxmask.cc index b4d2a4dba2a..e423bd051fe 100644 --- a/source/blender/nodes/composite/nodes/node_composite_boxmask.cc +++ b/source/blender/nodes/composite/nodes/node_composite_boxmask.cc @@ -47,7 +47,7 @@ static void node_composit_init_boxmask(bNodeTree *UNUSED(ntree), bNode *node) node->storage = data; } -void register_node_type_cmp_boxmask(void) +void register_node_type_cmp_boxmask() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_brightness.cc b/source/blender/nodes/composite/nodes/node_composite_brightness.cc index 028afad3cf8..69af3fdca10 100644 --- a/source/blender/nodes/composite/nodes/node_composite_brightness.cc +++ b/source/blender/nodes/composite/nodes/node_composite_brightness.cc @@ -42,7 +42,7 @@ static void node_composit_init_brightcontrast(bNodeTree *UNUSED(ntree), bNode *n node->custom1 = 1; } -void register_node_type_cmp_brightcontrast(void) +void register_node_type_cmp_brightcontrast() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_channelMatte.cc b/source/blender/nodes/composite/nodes/node_composite_channelMatte.cc index 3d3ed90b198..ec569a27bf8 100644 --- a/source/blender/nodes/composite/nodes/node_composite_channelMatte.cc +++ b/source/blender/nodes/composite/nodes/node_composite_channelMatte.cc @@ -51,7 +51,7 @@ static void node_composit_init_channel_matte(bNodeTree *UNUSED(ntree), bNode *no node->custom2 = 2; /* Green Channel. */ } -void register_node_type_cmp_channel_matte(void) +void register_node_type_cmp_channel_matte() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_chromaMatte.cc b/source/blender/nodes/composite/nodes/node_composite_chromaMatte.cc index e3a79763cf3..02e2a24989b 100644 --- a/source/blender/nodes/composite/nodes/node_composite_chromaMatte.cc +++ b/source/blender/nodes/composite/nodes/node_composite_chromaMatte.cc @@ -48,7 +48,7 @@ static void node_composit_init_chroma_matte(bNodeTree *UNUSED(ntree), bNode *nod c->fstrength = 1.0f; } -void register_node_type_cmp_chroma_matte(void) +void register_node_type_cmp_chroma_matte() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_colorMatte.cc b/source/blender/nodes/composite/nodes/node_composite_colorMatte.cc index 33a50e35514..564e9dbbff4 100644 --- a/source/blender/nodes/composite/nodes/node_composite_colorMatte.cc +++ b/source/blender/nodes/composite/nodes/node_composite_colorMatte.cc @@ -48,7 +48,7 @@ static void node_composit_init_color_matte(bNodeTree *UNUSED(ntree), bNode *node c->fstrength = 1.0f; } -void register_node_type_cmp_color_matte(void) +void register_node_type_cmp_color_matte() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_colorSpill.cc b/source/blender/nodes/composite/nodes/node_composite_colorSpill.cc index ad1679bb671..2e5735414bd 100644 --- a/source/blender/nodes/composite/nodes/node_composite_colorSpill.cc +++ b/source/blender/nodes/composite/nodes/node_composite_colorSpill.cc @@ -47,7 +47,7 @@ static void node_composit_init_color_spill(bNodeTree *UNUSED(ntree), bNode *node ncs->unspill = 0; /* do not use unspill */ } -void register_node_type_cmp_color_spill(void) +void register_node_type_cmp_color_spill() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_colorbalance.cc b/source/blender/nodes/composite/nodes/node_composite_colorbalance.cc index ef8af5f81a6..2e39a6e1ebe 100644 --- a/source/blender/nodes/composite/nodes/node_composite_colorbalance.cc +++ b/source/blender/nodes/composite/nodes/node_composite_colorbalance.cc @@ -80,7 +80,7 @@ static void node_composit_init_colorbalance(bNodeTree *UNUSED(ntree), bNode *nod node->storage = n; } -void register_node_type_cmp_colorbalance(void) +void register_node_type_cmp_colorbalance() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_colorcorrection.cc b/source/blender/nodes/composite/nodes/node_composite_colorcorrection.cc index 095fbef826a..32f4a7dc1ae 100644 --- a/source/blender/nodes/composite/nodes/node_composite_colorcorrection.cc +++ b/source/blender/nodes/composite/nodes/node_composite_colorcorrection.cc @@ -66,7 +66,7 @@ static void node_composit_init_colorcorrection(bNodeTree *UNUSED(ntree), bNode * node->storage = n; } -void register_node_type_cmp_colorcorrection(void) +void register_node_type_cmp_colorcorrection() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_common.cc b/source/blender/nodes/composite/nodes/node_composite_common.cc index 6432a89ffa0..9760ec605f6 100644 --- a/source/blender/nodes/composite/nodes/node_composite_common.cc +++ b/source/blender/nodes/composite/nodes/node_composite_common.cc @@ -32,7 +32,7 @@ #include "RNA_access.h" -void register_node_type_cmp_group(void) +void register_node_type_cmp_group() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_composite.cc b/source/blender/nodes/composite/nodes/node_composite_composite.cc index a1a49133a3a..d4558d717e8 100644 --- a/source/blender/nodes/composite/nodes/node_composite_composite.cc +++ b/source/blender/nodes/composite/nodes/node_composite_composite.cc @@ -36,7 +36,7 @@ static void cmp_node_composite_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_composite(void) +void register_node_type_cmp_composite() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_cornerpin.cc b/source/blender/nodes/composite/nodes/node_composite_cornerpin.cc index 806fa631fb8..2e7a87a576d 100644 --- a/source/blender/nodes/composite/nodes/node_composite_cornerpin.cc +++ b/source/blender/nodes/composite/nodes/node_composite_cornerpin.cc @@ -50,7 +50,7 @@ static void cmp_node_cornerpin_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_cornerpin(void) +void register_node_type_cmp_cornerpin() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_crop.cc b/source/blender/nodes/composite/nodes/node_composite_crop.cc index 622d5c52612..73c4eb85259 100644 --- a/source/blender/nodes/composite/nodes/node_composite_crop.cc +++ b/source/blender/nodes/composite/nodes/node_composite_crop.cc @@ -45,7 +45,7 @@ static void node_composit_init_crop(bNodeTree *UNUSED(ntree), bNode *node) nxy->y2 = 0; } -void register_node_type_cmp_crop(void) +void register_node_type_cmp_crop() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_cryptomatte.cc b/source/blender/nodes/composite/nodes/node_composite_cryptomatte.cc index dc378aa8d46..446a43b638d 100644 --- a/source/blender/nodes/composite/nodes/node_composite_cryptomatte.cc +++ b/source/blender/nodes/composite/nodes/node_composite_cryptomatte.cc @@ -306,7 +306,7 @@ static bool node_poll_cryptomatte(bNodeType *UNUSED(ntype), return false; } -void register_node_type_cmp_cryptomatte(void) +void register_node_type_cmp_cryptomatte() { static bNodeType ntype; @@ -361,7 +361,7 @@ int ntreeCompositCryptomatteRemoveSocket(bNodeTree *ntree, bNode *node) return 1; } -void register_node_type_cmp_cryptomatte_legacy(void) +void register_node_type_cmp_cryptomatte_legacy() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_curves.cc b/source/blender/nodes/composite/nodes/node_composite_curves.cc index 0e3ed53e129..53d721ce616 100644 --- a/source/blender/nodes/composite/nodes/node_composite_curves.cc +++ b/source/blender/nodes/composite/nodes/node_composite_curves.cc @@ -42,7 +42,7 @@ static void node_composit_init_curves_time(bNodeTree *UNUSED(ntree), bNode *node node->storage = BKE_curvemapping_add(1, 0.0f, 0.0f, 1.0f, 1.0f); } -void register_node_type_cmp_curve_time(void) +void register_node_type_cmp_curve_time() { static bNodeType ntype; @@ -72,7 +72,7 @@ static void node_composit_init_curve_vec(bNodeTree *UNUSED(ntree), bNode *node) node->storage = BKE_curvemapping_add(3, -1.0f, -1.0f, 1.0f, 1.0f); } -void register_node_type_cmp_curve_vec(void) +void register_node_type_cmp_curve_vec() { static bNodeType ntype; @@ -106,7 +106,7 @@ static void node_composit_init_curve_rgb(bNodeTree *UNUSED(ntree), bNode *node) node->storage = BKE_curvemapping_add(4, 0.0f, 0.0f, 1.0f, 1.0f); } -void register_node_type_cmp_curve_rgb(void) +void register_node_type_cmp_curve_rgb() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_defocus.cc b/source/blender/nodes/composite/nodes/node_composite_defocus.cc index ac4c209a74b..1d8a02e463c 100644 --- a/source/blender/nodes/composite/nodes/node_composite_defocus.cc +++ b/source/blender/nodes/composite/nodes/node_composite_defocus.cc @@ -55,7 +55,7 @@ static void node_composit_init_defocus(bNodeTree *UNUSED(ntree), bNode *node) node->storage = nbd; } -void register_node_type_cmp_defocus(void) +void register_node_type_cmp_defocus() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_denoise.cc b/source/blender/nodes/composite/nodes/node_composite_denoise.cc index cce33debf22..2c07dbb3d81 100644 --- a/source/blender/nodes/composite/nodes/node_composite_denoise.cc +++ b/source/blender/nodes/composite/nodes/node_composite_denoise.cc @@ -49,7 +49,7 @@ static void node_composit_init_denonise(bNodeTree *UNUSED(ntree), bNode *node) node->storage = ndg; } -void register_node_type_cmp_denoise(void) +void register_node_type_cmp_denoise() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_despeckle.cc b/source/blender/nodes/composite/nodes/node_composite_despeckle.cc index 51a4b0653b3..070c38feaa8 100644 --- a/source/blender/nodes/composite/nodes/node_composite_despeckle.cc +++ b/source/blender/nodes/composite/nodes/node_composite_despeckle.cc @@ -42,7 +42,7 @@ static void node_composit_init_despeckle(bNodeTree *UNUSED(ntree), bNode *node) node->custom4 = 0.5f; } -void register_node_type_cmp_despeckle(void) +void register_node_type_cmp_despeckle() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_diffMatte.cc b/source/blender/nodes/composite/nodes/node_composite_diffMatte.cc index 9e3ecf9ebb5..bfec3dadd09 100644 --- a/source/blender/nodes/composite/nodes/node_composite_diffMatte.cc +++ b/source/blender/nodes/composite/nodes/node_composite_diffMatte.cc @@ -45,7 +45,7 @@ static void node_composit_init_diff_matte(bNodeTree *UNUSED(ntree), bNode *node) c->t2 = 0.1f; } -void register_node_type_cmp_diff_matte(void) +void register_node_type_cmp_diff_matte() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_dilate.cc b/source/blender/nodes/composite/nodes/node_composite_dilate.cc index 4953e26c21f..14e618435d1 100644 --- a/source/blender/nodes/composite/nodes/node_composite_dilate.cc +++ b/source/blender/nodes/composite/nodes/node_composite_dilate.cc @@ -43,7 +43,7 @@ static void node_composit_init_dilateerode(bNodeTree *UNUSED(ntree), bNode *node node->storage = data; } -void register_node_type_cmp_dilateerode(void) +void register_node_type_cmp_dilateerode() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_directionalblur.cc b/source/blender/nodes/composite/nodes/node_composite_directionalblur.cc index 4250938aa44..cbc2484ceb8 100644 --- a/source/blender/nodes/composite/nodes/node_composite_directionalblur.cc +++ b/source/blender/nodes/composite/nodes/node_composite_directionalblur.cc @@ -42,7 +42,7 @@ static void node_composit_init_dblur(bNodeTree *UNUSED(ntree), bNode *node) ndbd->center_y = 0.5; } -void register_node_type_cmp_dblur(void) +void register_node_type_cmp_dblur() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_displace.cc b/source/blender/nodes/composite/nodes/node_composite_displace.cc index 90db3fbcb8e..0137c1f7da8 100644 --- a/source/blender/nodes/composite/nodes/node_composite_displace.cc +++ b/source/blender/nodes/composite/nodes/node_composite_displace.cc @@ -42,7 +42,7 @@ static void cmp_node_displace_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_displace(void) +void register_node_type_cmp_displace() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_distanceMatte.cc b/source/blender/nodes/composite/nodes/node_composite_distanceMatte.cc index 8c85b488c2c..302170081bb 100644 --- a/source/blender/nodes/composite/nodes/node_composite_distanceMatte.cc +++ b/source/blender/nodes/composite/nodes/node_composite_distanceMatte.cc @@ -46,7 +46,7 @@ static void node_composit_init_distance_matte(bNodeTree *UNUSED(ntree), bNode *n c->t2 = 0.1f; } -void register_node_type_cmp_distance_matte(void) +void register_node_type_cmp_distance_matte() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_doubleEdgeMask.cc b/source/blender/nodes/composite/nodes/node_composite_doubleEdgeMask.cc index 2b572c35372..ce4532366a3 100644 --- a/source/blender/nodes/composite/nodes/node_composite_doubleEdgeMask.cc +++ b/source/blender/nodes/composite/nodes/node_composite_doubleEdgeMask.cc @@ -35,7 +35,7 @@ static void cmp_node_double_edge_mask_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_doubleedgemask(void) +void register_node_type_cmp_doubleedgemask() { static bNodeType ntype; /* Allocate a node type data structure. */ diff --git a/source/blender/nodes/composite/nodes/node_composite_ellipsemask.cc b/source/blender/nodes/composite/nodes/node_composite_ellipsemask.cc index 6ab5450c7e8..5f49357107c 100644 --- a/source/blender/nodes/composite/nodes/node_composite_ellipsemask.cc +++ b/source/blender/nodes/composite/nodes/node_composite_ellipsemask.cc @@ -48,7 +48,7 @@ static void node_composit_init_ellipsemask(bNodeTree *UNUSED(ntree), bNode *node node->storage = data; } -void register_node_type_cmp_ellipsemask(void) +void register_node_type_cmp_ellipsemask() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_exposure.cc b/source/blender/nodes/composite/nodes/node_composite_exposure.cc index c1e64065f7e..b696db41a3c 100644 --- a/source/blender/nodes/composite/nodes/node_composite_exposure.cc +++ b/source/blender/nodes/composite/nodes/node_composite_exposure.cc @@ -36,7 +36,7 @@ static void cmp_node_exposure_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_exposure(void) +void register_node_type_cmp_exposure() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_filter.cc b/source/blender/nodes/composite/nodes/node_composite_filter.cc index d5d2be295b8..72510387b6a 100644 --- a/source/blender/nodes/composite/nodes/node_composite_filter.cc +++ b/source/blender/nodes/composite/nodes/node_composite_filter.cc @@ -36,7 +36,7 @@ static void cmp_node_filter_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_filter(void) +void register_node_type_cmp_filter() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_flip.cc b/source/blender/nodes/composite/nodes/node_composite_flip.cc index d663aff24d1..95a00dd58da 100644 --- a/source/blender/nodes/composite/nodes/node_composite_flip.cc +++ b/source/blender/nodes/composite/nodes/node_composite_flip.cc @@ -35,7 +35,7 @@ static void cmp_node_flip_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_flip(void) +void register_node_type_cmp_flip() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_gamma.cc b/source/blender/nodes/composite/nodes/node_composite_gamma.cc index 74152a27485..438770865ae 100644 --- a/source/blender/nodes/composite/nodes/node_composite_gamma.cc +++ b/source/blender/nodes/composite/nodes/node_composite_gamma.cc @@ -40,7 +40,7 @@ static void cmp_node_gamma_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_gamma(void) +void register_node_type_cmp_gamma() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_glare.cc b/source/blender/nodes/composite/nodes/node_composite_glare.cc index 2500a129e6f..d3a5fff0b68 100644 --- a/source/blender/nodes/composite/nodes/node_composite_glare.cc +++ b/source/blender/nodes/composite/nodes/node_composite_glare.cc @@ -50,7 +50,7 @@ static void node_composit_init_glare(bNodeTree *UNUSED(ntree), bNode *node) node->storage = ndg; } -void register_node_type_cmp_glare(void) +void register_node_type_cmp_glare() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_hueSatVal.cc b/source/blender/nodes/composite/nodes/node_composite_hueSatVal.cc index 21430035465..47fbaa4d384 100644 --- a/source/blender/nodes/composite/nodes/node_composite_hueSatVal.cc +++ b/source/blender/nodes/composite/nodes/node_composite_hueSatVal.cc @@ -47,7 +47,7 @@ static void cmp_node_huesatval_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_hue_sat(void) +void register_node_type_cmp_hue_sat() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_huecorrect.cc b/source/blender/nodes/composite/nodes/node_composite_huecorrect.cc index 83743bbed18..e78ba0c7f9c 100644 --- a/source/blender/nodes/composite/nodes/node_composite_huecorrect.cc +++ b/source/blender/nodes/composite/nodes/node_composite_huecorrect.cc @@ -51,7 +51,7 @@ static void node_composit_init_huecorrect(bNodeTree *UNUSED(ntree), bNode *node) cumapping->cur = 1; } -void register_node_type_cmp_huecorrect(void) +void register_node_type_cmp_huecorrect() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_idMask.cc b/source/blender/nodes/composite/nodes/node_composite_idMask.cc index 5121370567c..be7d4e22aba 100644 --- a/source/blender/nodes/composite/nodes/node_composite_idMask.cc +++ b/source/blender/nodes/composite/nodes/node_composite_idMask.cc @@ -35,7 +35,7 @@ static void cmp_node_idmask_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_idmask(void) +void register_node_type_cmp_idmask() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_image.cc b/source/blender/nodes/composite/nodes/node_composite_image.cc index 4b53010db30..ed76aa50527 100644 --- a/source/blender/nodes/composite/nodes/node_composite_image.cc +++ b/source/blender/nodes/composite/nodes/node_composite_image.cc @@ -443,7 +443,7 @@ static void node_composit_copy_image(bNodeTree *UNUSED(dest_ntree), } } -void register_node_type_cmp_image(void) +void register_node_type_cmp_image() { static bNodeType ntype; @@ -555,7 +555,7 @@ static void cmp_node_rlayers_update(bNodeTree *ntree, bNode *node) cmp_node_update_default(ntree, node); } -void register_node_type_cmp_rlayers(void) +void register_node_type_cmp_rlayers() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_inpaint.cc b/source/blender/nodes/composite/nodes/node_composite_inpaint.cc index 5c043fbe878..c7674263b68 100644 --- a/source/blender/nodes/composite/nodes/node_composite_inpaint.cc +++ b/source/blender/nodes/composite/nodes/node_composite_inpaint.cc @@ -35,7 +35,7 @@ static void cmp_node_inpaint_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_inpaint(void) +void register_node_type_cmp_inpaint() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_invert.cc b/source/blender/nodes/composite/nodes/node_composite_invert.cc index dabf0452628..caf28d24b44 100644 --- a/source/blender/nodes/composite/nodes/node_composite_invert.cc +++ b/source/blender/nodes/composite/nodes/node_composite_invert.cc @@ -42,7 +42,7 @@ static void node_composit_init_invert(bNodeTree *UNUSED(ntree), bNode *node) } /* custom1 = mix type */ -void register_node_type_cmp_invert(void) +void register_node_type_cmp_invert() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_keying.cc b/source/blender/nodes/composite/nodes/node_composite_keying.cc index 07826cfa492..6286c61b292 100644 --- a/source/blender/nodes/composite/nodes/node_composite_keying.cc +++ b/source/blender/nodes/composite/nodes/node_composite_keying.cc @@ -60,7 +60,7 @@ static void node_composit_init_keying(bNodeTree *UNUSED(ntree), bNode *node) node->storage = data; } -void register_node_type_cmp_keying(void) +void register_node_type_cmp_keying() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_keyingscreen.cc b/source/blender/nodes/composite/nodes/node_composite_keyingscreen.cc index c8001ec9c60..f0423497bed 100644 --- a/source/blender/nodes/composite/nodes/node_composite_keyingscreen.cc +++ b/source/blender/nodes/composite/nodes/node_composite_keyingscreen.cc @@ -46,7 +46,7 @@ static void node_composit_init_keyingscreen(bNodeTree *UNUSED(ntree), bNode *nod node->storage = data; } -void register_node_type_cmp_keyingscreen(void) +void register_node_type_cmp_keyingscreen() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_lensdist.cc b/source/blender/nodes/composite/nodes/node_composite_lensdist.cc index 1ea6d45df5b..bd52328db0f 100644 --- a/source/blender/nodes/composite/nodes/node_composite_lensdist.cc +++ b/source/blender/nodes/composite/nodes/node_composite_lensdist.cc @@ -42,7 +42,7 @@ static void node_composit_init_lensdist(bNodeTree *UNUSED(ntree), bNode *node) node->storage = nld; } -void register_node_type_cmp_lensdist(void) +void register_node_type_cmp_lensdist() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_levels.cc b/source/blender/nodes/composite/nodes/node_composite_levels.cc index 54064f24e0d..c36e0153991 100644 --- a/source/blender/nodes/composite/nodes/node_composite_levels.cc +++ b/source/blender/nodes/composite/nodes/node_composite_levels.cc @@ -41,7 +41,7 @@ static void node_composit_init_view_levels(bNodeTree *UNUSED(ntree), bNode *node node->custom1 = 1; /* All channels. */ } -void register_node_type_cmp_view_levels(void) +void register_node_type_cmp_view_levels() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_lummaMatte.cc b/source/blender/nodes/composite/nodes/node_composite_lummaMatte.cc index c73b7883e4b..c951dfbcf37 100644 --- a/source/blender/nodes/composite/nodes/node_composite_lummaMatte.cc +++ b/source/blender/nodes/composite/nodes/node_composite_lummaMatte.cc @@ -44,7 +44,7 @@ static void node_composit_init_luma_matte(bNodeTree *UNUSED(ntree), bNode *node) c->t2 = 0.0f; } -void register_node_type_cmp_luma_matte(void) +void register_node_type_cmp_luma_matte() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_mapRange.cc b/source/blender/nodes/composite/nodes/node_composite_mapRange.cc index b21a9203bd1..8eefc9beb18 100644 --- a/source/blender/nodes/composite/nodes/node_composite_mapRange.cc +++ b/source/blender/nodes/composite/nodes/node_composite_mapRange.cc @@ -39,7 +39,7 @@ static void cmp_node_map_range_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_map_range(void) +void register_node_type_cmp_map_range() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_mapUV.cc b/source/blender/nodes/composite/nodes/node_composite_mapUV.cc index 893710c183d..80e4db4bdf0 100644 --- a/source/blender/nodes/composite/nodes/node_composite_mapUV.cc +++ b/source/blender/nodes/composite/nodes/node_composite_mapUV.cc @@ -36,7 +36,7 @@ static void cmp_node_map_uv_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_mapuv(void) +void register_node_type_cmp_mapuv() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_mapValue.cc b/source/blender/nodes/composite/nodes/node_composite_mapValue.cc index 8e2c9add414..1b34f987168 100644 --- a/source/blender/nodes/composite/nodes/node_composite_mapValue.cc +++ b/source/blender/nodes/composite/nodes/node_composite_mapValue.cc @@ -40,7 +40,7 @@ static void node_composit_init_map_value(bNodeTree *UNUSED(ntree), bNode *node) node->storage = BKE_texture_mapping_add(TEXMAP_TYPE_POINT); } -void register_node_type_cmp_map_value(void) +void register_node_type_cmp_map_value() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_mask.cc b/source/blender/nodes/composite/nodes/node_composite_mask.cc index 6428fadaa5f..0c6f70a3837 100644 --- a/source/blender/nodes/composite/nodes/node_composite_mask.cc +++ b/source/blender/nodes/composite/nodes/node_composite_mask.cc @@ -56,7 +56,7 @@ static void node_mask_label(bNodeTree *UNUSED(ntree), bNode *node, char *label, } } -void register_node_type_cmp_mask(void) +void register_node_type_cmp_mask() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_math.cc b/source/blender/nodes/composite/nodes/node_composite_math.cc index 6657d13ce02..e6e4531dd2e 100644 --- a/source/blender/nodes/composite/nodes/node_composite_math.cc +++ b/source/blender/nodes/composite/nodes/node_composite_math.cc @@ -43,7 +43,7 @@ static void cmp_node_math_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_math(void) +void register_node_type_cmp_math() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_mixrgb.cc b/source/blender/nodes/composite/nodes/node_composite_mixrgb.cc index 4f1da66c7e0..cbfa3509c2b 100644 --- a/source/blender/nodes/composite/nodes/node_composite_mixrgb.cc +++ b/source/blender/nodes/composite/nodes/node_composite_mixrgb.cc @@ -38,7 +38,7 @@ static void cmp_node_mixrgb_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes /* custom1 = mix type */ -void register_node_type_cmp_mix_rgb(void) +void register_node_type_cmp_mix_rgb() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_movieclip.cc b/source/blender/nodes/composite/nodes/node_composite_movieclip.cc index 5d63a1b8002..0d44671897b 100644 --- a/source/blender/nodes/composite/nodes/node_composite_movieclip.cc +++ b/source/blender/nodes/composite/nodes/node_composite_movieclip.cc @@ -53,7 +53,7 @@ static void init(const bContext *C, PointerRNA *ptr) user->framenr = 1; } -void register_node_type_cmp_movieclip(void) +void register_node_type_cmp_movieclip() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_moviedistortion.cc b/source/blender/nodes/composite/nodes/node_composite_moviedistortion.cc index 4c1bd12b23f..d874be63616 100644 --- a/source/blender/nodes/composite/nodes/node_composite_moviedistortion.cc +++ b/source/blender/nodes/composite/nodes/node_composite_moviedistortion.cc @@ -73,7 +73,7 @@ static void storage_copy(bNodeTree *UNUSED(dest_ntree), bNode *dest_node, const } } -void register_node_type_cmp_moviedistortion(void) +void register_node_type_cmp_moviedistortion() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_normal.cc b/source/blender/nodes/composite/nodes/node_composite_normal.cc index 975dbe310ec..b541761a8cc 100644 --- a/source/blender/nodes/composite/nodes/node_composite_normal.cc +++ b/source/blender/nodes/composite/nodes/node_composite_normal.cc @@ -40,7 +40,7 @@ static void cmp_node_normal_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_normal(void) +void register_node_type_cmp_normal() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_normalize.cc b/source/blender/nodes/composite/nodes/node_composite_normalize.cc index 44c1a28f399..dd3939fa6e2 100644 --- a/source/blender/nodes/composite/nodes/node_composite_normalize.cc +++ b/source/blender/nodes/composite/nodes/node_composite_normalize.cc @@ -35,7 +35,7 @@ static void cmp_node_normalize_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_normalize(void) +void register_node_type_cmp_normalize() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_outputFile.cc b/source/blender/nodes/composite/nodes/node_composite_outputFile.cc index a372d2f7419..f02a0b2fa21 100644 --- a/source/blender/nodes/composite/nodes/node_composite_outputFile.cc +++ b/source/blender/nodes/composite/nodes/node_composite_outputFile.cc @@ -275,7 +275,7 @@ static void update_output_file(bNodeTree *ntree, bNode *node) } } -void register_node_type_cmp_output_file(void) +void register_node_type_cmp_output_file() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_pixelate.cc b/source/blender/nodes/composite/nodes/node_composite_pixelate.cc index 7e164196de8..3679aada759 100644 --- a/source/blender/nodes/composite/nodes/node_composite_pixelate.cc +++ b/source/blender/nodes/composite/nodes/node_composite_pixelate.cc @@ -35,7 +35,7 @@ static void cmp_node_pixelate_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_pixelate(void) +void register_node_type_cmp_pixelate() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_planetrackdeform.cc b/source/blender/nodes/composite/nodes/node_composite_planetrackdeform.cc index db820d291f9..82738d70531 100644 --- a/source/blender/nodes/composite/nodes/node_composite_planetrackdeform.cc +++ b/source/blender/nodes/composite/nodes/node_composite_planetrackdeform.cc @@ -43,7 +43,7 @@ static void init(bNodeTree *UNUSED(ntree), bNode *node) node->storage = data; } -void register_node_type_cmp_planetrackdeform(void) +void register_node_type_cmp_planetrackdeform() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_posterize.cc b/source/blender/nodes/composite/nodes/node_composite_posterize.cc index bd3968683ea..8437c72e76c 100644 --- a/source/blender/nodes/composite/nodes/node_composite_posterize.cc +++ b/source/blender/nodes/composite/nodes/node_composite_posterize.cc @@ -36,7 +36,7 @@ static void cmp_node_posterize_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_posterize(void) +void register_node_type_cmp_posterize() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_premulkey.cc b/source/blender/nodes/composite/nodes/node_composite_premulkey.cc index 49068429a8d..8dec90c875a 100644 --- a/source/blender/nodes/composite/nodes/node_composite_premulkey.cc +++ b/source/blender/nodes/composite/nodes/node_composite_premulkey.cc @@ -35,7 +35,7 @@ static void cmp_node_premulkey_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_premulkey(void) +void register_node_type_cmp_premulkey() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_rgb.cc b/source/blender/nodes/composite/nodes/node_composite_rgb.cc index abe69d6a756..54f152d1cd0 100644 --- a/source/blender/nodes/composite/nodes/node_composite_rgb.cc +++ b/source/blender/nodes/composite/nodes/node_composite_rgb.cc @@ -34,7 +34,7 @@ static void cmp_node_rgb_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_rgb(void) +void register_node_type_cmp_rgb() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_rotate.cc b/source/blender/nodes/composite/nodes/node_composite_rotate.cc index 1ac04c554fb..8ddd62a6226 100644 --- a/source/blender/nodes/composite/nodes/node_composite_rotate.cc +++ b/source/blender/nodes/composite/nodes/node_composite_rotate.cc @@ -45,7 +45,7 @@ static void node_composit_init_rotate(bNodeTree *UNUSED(ntree), bNode *node) node->custom1 = 1; /* Bilinear Filter. */ } -void register_node_type_cmp_rotate(void) +void register_node_type_cmp_rotate() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_scale.cc b/source/blender/nodes/composite/nodes/node_composite_scale.cc index 81acd646920..14890146818 100644 --- a/source/blender/nodes/composite/nodes/node_composite_scale.cc +++ b/source/blender/nodes/composite/nodes/node_composite_scale.cc @@ -50,7 +50,7 @@ static void node_composite_update_scale(bNodeTree *ntree, bNode *node) } } -void register_node_type_cmp_scale(void) +void register_node_type_cmp_scale() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_sepcombHSVA.cc b/source/blender/nodes/composite/nodes/node_composite_sepcombHSVA.cc index 83c54069658..9eafc0e3594 100644 --- a/source/blender/nodes/composite/nodes/node_composite_sepcombHSVA.cc +++ b/source/blender/nodes/composite/nodes/node_composite_sepcombHSVA.cc @@ -38,7 +38,7 @@ static void cmp_node_sephsva_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_sephsva(void) +void register_node_type_cmp_sephsva() { static bNodeType ntype; @@ -62,7 +62,7 @@ static void cmp_node_combhsva_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_combhsva(void) +void register_node_type_cmp_combhsva() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_sepcombRGBA.cc b/source/blender/nodes/composite/nodes/node_composite_sepcombRGBA.cc index 049e798af0a..e81ea6f31be 100644 --- a/source/blender/nodes/composite/nodes/node_composite_sepcombRGBA.cc +++ b/source/blender/nodes/composite/nodes/node_composite_sepcombRGBA.cc @@ -37,7 +37,7 @@ static void cmp_node_seprgba_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_seprgba(void) +void register_node_type_cmp_seprgba() { static bNodeType ntype; @@ -62,7 +62,7 @@ static void cmp_node_combrgba_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_combrgba(void) +void register_node_type_cmp_combrgba() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_sepcombYCCA.cc b/source/blender/nodes/composite/nodes/node_composite_sepcombYCCA.cc index eaf6ba5e9b2..15c8efc2ef8 100644 --- a/source/blender/nodes/composite/nodes/node_composite_sepcombYCCA.cc +++ b/source/blender/nodes/composite/nodes/node_composite_sepcombYCCA.cc @@ -43,7 +43,7 @@ static void node_composit_init_mode_sepycca(bNodeTree *UNUSED(ntree), bNode *nod node->custom1 = 1; /* BLI_YCC_ITU_BT709 */ } -void register_node_type_cmp_sepycca(void) +void register_node_type_cmp_sepycca() { static bNodeType ntype; @@ -74,7 +74,7 @@ static void node_composit_init_mode_combycca(bNodeTree *UNUSED(ntree), bNode *no node->custom1 = 1; /* BLI_YCC_ITU_BT709 */ } -void register_node_type_cmp_combycca(void) +void register_node_type_cmp_combycca() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_sepcombYUVA.cc b/source/blender/nodes/composite/nodes/node_composite_sepcombYUVA.cc index bc7710122d1..4d4b01c2fb3 100644 --- a/source/blender/nodes/composite/nodes/node_composite_sepcombYUVA.cc +++ b/source/blender/nodes/composite/nodes/node_composite_sepcombYUVA.cc @@ -38,7 +38,7 @@ static void cmp_node_sepyuva_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_sepyuva(void) +void register_node_type_cmp_sepyuva() { static bNodeType ntype; @@ -63,7 +63,7 @@ static void cmp_node_combyuva_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_combyuva(void) +void register_node_type_cmp_combyuva() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_setalpha.cc b/source/blender/nodes/composite/nodes/node_composite_setalpha.cc index f59ba76f0c5..04eb055f3b2 100644 --- a/source/blender/nodes/composite/nodes/node_composite_setalpha.cc +++ b/source/blender/nodes/composite/nodes/node_composite_setalpha.cc @@ -43,7 +43,7 @@ static void node_composit_init_setalpha(bNodeTree *UNUSED(ntree), bNode *node) settings->mode = CMP_NODE_SETALPHA_MODE_APPLY; } -void register_node_type_cmp_setalpha(void) +void register_node_type_cmp_setalpha() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_splitViewer.cc b/source/blender/nodes/composite/nodes/node_composite_splitViewer.cc index 62b8f9a34ca..ad8dcd0d8e9 100644 --- a/source/blender/nodes/composite/nodes/node_composite_splitViewer.cc +++ b/source/blender/nodes/composite/nodes/node_composite_splitViewer.cc @@ -48,7 +48,7 @@ static void node_composit_init_splitviewer(bNodeTree *UNUSED(ntree), bNode *node node->id = (ID *)BKE_image_ensure_viewer(G.main, IMA_TYPE_COMPOSITE, "Viewer Node"); } -void register_node_type_cmp_splitviewer(void) +void register_node_type_cmp_splitviewer() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_stabilize2d.cc b/source/blender/nodes/composite/nodes/node_composite_stabilize2d.cc index a6a18705f2f..841cc6a5da3 100644 --- a/source/blender/nodes/composite/nodes/node_composite_stabilize2d.cc +++ b/source/blender/nodes/composite/nodes/node_composite_stabilize2d.cc @@ -50,7 +50,7 @@ static void init(const bContext *C, PointerRNA *ptr) node->custom1 = 1; } -void register_node_type_cmp_stabilize2d(void) +void register_node_type_cmp_stabilize2d() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_sunbeams.cc b/source/blender/nodes/composite/nodes/node_composite_sunbeams.cc index 43468e20d03..06d32569b0b 100644 --- a/source/blender/nodes/composite/nodes/node_composite_sunbeams.cc +++ b/source/blender/nodes/composite/nodes/node_composite_sunbeams.cc @@ -42,7 +42,7 @@ static void init(bNodeTree *UNUSED(ntree), bNode *node) node->storage = data; } -void register_node_type_cmp_sunbeams(void) +void register_node_type_cmp_sunbeams() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_switch.cc b/source/blender/nodes/composite/nodes/node_composite_switch.cc index 0430a8c9f7a..e8e7e7eb941 100644 --- a/source/blender/nodes/composite/nodes/node_composite_switch.cc +++ b/source/blender/nodes/composite/nodes/node_composite_switch.cc @@ -37,7 +37,7 @@ static void cmp_node_switch_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes /* custom1 = mix type */ -void register_node_type_cmp_switch(void) +void register_node_type_cmp_switch() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_switchview.cc b/source/blender/nodes/composite/nodes/node_composite_switchview.cc index a61712f7f8d..b452a894e7c 100644 --- a/source/blender/nodes/composite/nodes/node_composite_switchview.cc +++ b/source/blender/nodes/composite/nodes/node_composite_switchview.cc @@ -137,7 +137,7 @@ static void init_switch_view(const bContext *C, PointerRNA *ptr) cmp_node_switch_view_sanitycheck(ntree, node); } -void register_node_type_cmp_switch_view(void) +void register_node_type_cmp_switch_view() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_texture.cc b/source/blender/nodes/composite/nodes/node_composite_texture.cc index 55ae6a4185e..5e5fca755b2 100644 --- a/source/blender/nodes/composite/nodes/node_composite_texture.cc +++ b/source/blender/nodes/composite/nodes/node_composite_texture.cc @@ -41,7 +41,7 @@ static void cmp_node_texture_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_texture(void) +void register_node_type_cmp_texture() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_tonemap.cc b/source/blender/nodes/composite/nodes/node_composite_tonemap.cc index 33d6f98201c..e23243e9bee 100644 --- a/source/blender/nodes/composite/nodes/node_composite_tonemap.cc +++ b/source/blender/nodes/composite/nodes/node_composite_tonemap.cc @@ -49,7 +49,7 @@ static void node_composit_init_tonemap(bNodeTree *UNUSED(ntree), bNode *node) node->storage = ntm; } -void register_node_type_cmp_tonemap(void) +void register_node_type_cmp_tonemap() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_trackpos.cc b/source/blender/nodes/composite/nodes/node_composite_trackpos.cc index 537f7e661db..3780a7e1aa1 100644 --- a/source/blender/nodes/composite/nodes/node_composite_trackpos.cc +++ b/source/blender/nodes/composite/nodes/node_composite_trackpos.cc @@ -42,7 +42,7 @@ static void init(bNodeTree *UNUSED(ntree), bNode *node) node->storage = data; } -void register_node_type_cmp_trackpos(void) +void register_node_type_cmp_trackpos() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_transform.cc b/source/blender/nodes/composite/nodes/node_composite_transform.cc index ade737d9a63..1acc671626a 100644 --- a/source/blender/nodes/composite/nodes/node_composite_transform.cc +++ b/source/blender/nodes/composite/nodes/node_composite_transform.cc @@ -43,7 +43,7 @@ static void cmp_node_transform_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_transform(void) +void register_node_type_cmp_transform() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_translate.cc b/source/blender/nodes/composite/nodes/node_composite_translate.cc index 15652664a7a..2ad70b4a0e5 100644 --- a/source/blender/nodes/composite/nodes/node_composite_translate.cc +++ b/source/blender/nodes/composite/nodes/node_composite_translate.cc @@ -44,7 +44,7 @@ static void node_composit_init_translate(bNodeTree *UNUSED(ntree), bNode *node) node->storage = data; } -void register_node_type_cmp_translate(void) +void register_node_type_cmp_translate() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_valToRgb.cc b/source/blender/nodes/composite/nodes/node_composite_valToRgb.cc index a0ab056e657..dca6c9c141c 100644 --- a/source/blender/nodes/composite/nodes/node_composite_valToRgb.cc +++ b/source/blender/nodes/composite/nodes/node_composite_valToRgb.cc @@ -41,7 +41,7 @@ static void node_composit_init_valtorgb(bNodeTree *UNUSED(ntree), bNode *node) node->storage = BKE_colorband_add(true); } -void register_node_type_cmp_valtorgb(void) +void register_node_type_cmp_valtorgb() { static bNodeType ntype; @@ -66,7 +66,7 @@ static void cmp_node_rgbtobw_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_rgbtobw(void) +void register_node_type_cmp_rgbtobw() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_value.cc b/source/blender/nodes/composite/nodes/node_composite_value.cc index 51214d23472..d2274d2d82a 100644 --- a/source/blender/nodes/composite/nodes/node_composite_value.cc +++ b/source/blender/nodes/composite/nodes/node_composite_value.cc @@ -34,7 +34,7 @@ static void cmp_node_value_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_value(void) +void register_node_type_cmp_value() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_vecBlur.cc b/source/blender/nodes/composite/nodes/node_composite_vecBlur.cc index 600e4dd9d12..7c82001210d 100644 --- a/source/blender/nodes/composite/nodes/node_composite_vecBlur.cc +++ b/source/blender/nodes/composite/nodes/node_composite_vecBlur.cc @@ -50,7 +50,7 @@ static void node_composit_init_vecblur(bNodeTree *UNUSED(ntree), bNode *node) } /* custom1: iterations, custom2: max_speed (0 = no_limit). */ -void register_node_type_cmp_vecblur(void) +void register_node_type_cmp_vecblur() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_viewer.cc b/source/blender/nodes/composite/nodes/node_composite_viewer.cc index 90f9882099b..ebac7d31c52 100644 --- a/source/blender/nodes/composite/nodes/node_composite_viewer.cc +++ b/source/blender/nodes/composite/nodes/node_composite_viewer.cc @@ -50,7 +50,7 @@ static void node_composit_init_viewer(bNodeTree *UNUSED(ntree), bNode *node) node->id = (ID *)BKE_image_ensure_viewer(G.main, IMA_TYPE_COMPOSITE, "Viewer Node"); } -void register_node_type_cmp_viewer(void) +void register_node_type_cmp_viewer() { static bNodeType ntype; diff --git a/source/blender/nodes/composite/nodes/node_composite_zcombine.cc b/source/blender/nodes/composite/nodes/node_composite_zcombine.cc index 9c39148ed5d..982714e030e 100644 --- a/source/blender/nodes/composite/nodes/node_composite_zcombine.cc +++ b/source/blender/nodes/composite/nodes/node_composite_zcombine.cc @@ -39,7 +39,7 @@ static void cmp_node_zcombine_declare(NodeDeclarationBuilder &b) } // namespace blender::nodes -void register_node_type_cmp_zcombine(void) +void register_node_type_cmp_zcombine() { static bNodeType ntype; 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; |