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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user