From 7e5a7928ca2ae5f38c8d2ce11b79cc198527c725 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Mon, 2 Jan 2023 11:13:40 +0100 Subject: [PATCH] Cleanup: resolve 'no previous prototype' warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolve `warning: no previous prototype for ‘gpencil_layer_new_name_get’` by marking it as `static`. No functional changes. --- source/blender/editors/gpencil/gpencil_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/gpencil/gpencil_utils.c b/source/blender/editors/gpencil/gpencil_utils.c index f91480b72e7..c0024052d82 100644 --- a/source/blender/editors/gpencil/gpencil_utils.c +++ b/source/blender/editors/gpencil/gpencil_utils.c @@ -3356,7 +3356,7 @@ void ED_gpencil_layer_merge(bGPdata *gpd, } } -void gpencil_layer_new_name_get(bGPdata *gpd, char *rname) +static void gpencil_layer_new_name_get(bGPdata *gpd, char *rname) { int index = 0; LISTBASE_FOREACH (bGPDlayer *, gpl, &gpd->layers) {