[Bf-blender-cvs] [01aae653a14] master: Cleanup: use static for undeclared function

Campbell Barton noreply at git.blender.org
Thu Aug 8 14:55:07 CEST 2019


Commit: 01aae653a14351e62883ef5468e58b1089099d72
Author: Campbell Barton
Date:   Thu Aug 8 22:47:10 2019 +1000
Branches: master
https://developer.blender.org/rB01aae653a14351e62883ef5468e58b1089099d72

Cleanup: use static for undeclared function

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

M	source/blender/editors/gpencil/gpencil_edit.c

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

diff --git a/source/blender/editors/gpencil/gpencil_edit.c b/source/blender/editors/gpencil/gpencil_edit.c
index a7b9bb24bf8..f7c90d44d95 100644
--- a/source/blender/editors/gpencil/gpencil_edit.c
+++ b/source/blender/editors/gpencil/gpencil_edit.c
@@ -4524,7 +4524,7 @@ bool ED_object_gpencil_exit(struct Main *bmain, Object *ob)
 }
 
 /* ** merge by distance *** */
-bool gp_merge_by_distance_poll(bContext *C)
+static bool gp_merge_by_distance_poll(bContext *C)
 {
   Object *ob = CTX_data_active_object(C);
   if (ob == NULL) {



More information about the Bf-blender-cvs mailing list