From 271aedffbe0b7ec25d0cbae0e283a8110b30f80b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 11 Apr 2024 20:17:46 +1000 Subject: [PATCH] Cleanup: quiet missing-declarations warning --- source/blender/editors/gpencil_legacy/gpencil_edit.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/gpencil_legacy/gpencil_edit.cc b/source/blender/editors/gpencil_legacy/gpencil_edit.cc index b18cbee669c..4b36accfa1f 100644 --- a/source/blender/editors/gpencil_legacy/gpencil_edit.cc +++ b/source/blender/editors/gpencil_legacy/gpencil_edit.cc @@ -465,7 +465,7 @@ static bool gpencil_sculptmode_toggle_poll(bContext *C) return false; } -bool gpencil_sculpt_poll_view3d(bContext *C) +static bool gpencil_sculpt_poll_view3d(bContext *C) { const Object *ob = CTX_data_active_object(C); if (ob == nullptr || (ob->mode & OB_MODE_SCULPT_GPENCIL_LEGACY) == 0) {