[Bf-blender-cvs] [e17bee5b7f7] master: Cleanup: missing-prototypes warning

Campbell Barton noreply at git.blender.org
Wed Apr 15 09:36:54 CEST 2020


Commit: e17bee5b7f71af2e170ac692427ff509a55f7ecf
Author: Campbell Barton
Date:   Wed Apr 15 17:35:31 2020 +1000
Branches: master
https://developer.blender.org/rBe17bee5b7f71af2e170ac692427ff509a55f7ecf

Cleanup: missing-prototypes warning

===================================================================

M	source/blender/editors/sculpt_paint/paint_cursor.c

===================================================================

diff --git a/source/blender/editors/sculpt_paint/paint_cursor.c b/source/blender/editors/sculpt_paint/paint_cursor.c
index 33372a0d7cf..536453ad085 100644
--- a/source/blender/editors/sculpt_paint/paint_cursor.c
+++ b/source/blender/editors/sculpt_paint/paint_cursor.c
@@ -1216,15 +1216,15 @@ static void sculpt_geometry_preview_lines_draw(const uint gpuattr, SculptSession
   }
 }
 
-void SCULPT_layer_brush_height_preview_draw(const uint gpuattr,
-                                            const Brush *brush,
-                                            const float obmat[4][4],
-                                            const float location[3],
-                                            const float normal[3],
-                                            const float rds,
-                                            const float line_width,
-                                            const float outline_col[3],
-                                            const float alpha)
+static void SCULPT_layer_brush_height_preview_draw(const uint gpuattr,
+                                                   const Brush *brush,
+                                                   const float obmat[4][4],
+                                                   const float location[3],
+                                                   const float normal[3],
+                                                   const float rds,
+                                                   const float line_width,
+                                                   const float outline_col[3],
+                                                   const float alpha)
 {
   float cursor_trans[4][4], cursor_rot[4][4];
   float z_axis[4] = {0.0f, 0.0f, 1.0f, 0.0f};



More information about the Bf-blender-cvs mailing list