Cleanup: use static declarations
This commit is contained in:
parent
977bd7937a
commit
87fdb71438
|
@ -779,7 +779,7 @@ static void file_space_subtype_item_extend(bContext *UNUSED(C),
|
|||
RNA_enum_items_add(item, totitem, rna_enum_space_file_browse_mode_items);
|
||||
}
|
||||
|
||||
const char *file_context_dir[] = {"active_file", "active_id", NULL};
|
||||
static const char *file_context_dir[] = {"active_file", "active_id", NULL};
|
||||
|
||||
static int /*eContextResult*/ file_context(const bContext *C,
|
||||
const char *member,
|
||||
|
|
|
@ -50,7 +50,7 @@ static void outliner_context_selected_ids(const SpaceOutliner *space_outliner,
|
|||
CTX_data_type_set(result, CTX_DATA_TYPE_COLLECTION);
|
||||
}
|
||||
|
||||
const char *outliner_context_dir[] = {"selected_ids", NULL};
|
||||
static const char *outliner_context_dir[] = {"selected_ids", NULL};
|
||||
|
||||
int /*eContextResult*/ outliner_context(const bContext *C,
|
||||
const char *member,
|
||||
|
|
Loading…
Reference in New Issue