Cleanup: resolve 'no previous prototype' warning

Resolve `warning: no previous prototype for ‘gpencil_layer_new_name_get’`
by marking it as `static`.

No functional changes.
This commit is contained in:
Sybren A. Stüvel
2023-01-02 11:13:40 +01:00
parent 4924f8cffd
commit 7e5a7928ca

View File

@@ -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) {