Turn function static

This commit is contained in:
twinaphex 2016-02-07 17:34:22 +01:00
parent d3b9356958
commit fac18641cd
2 changed files with 5 additions and 6 deletions

View File

@ -429,7 +429,11 @@ error:
return false;
}
bool core_info_list_get_info(core_info_list_t *core_info_list,
/* Shallow-copies internal state.
*
* Data in *info is invalidated when the
* core_info_list is freed. */
static bool core_info_list_get_info(core_info_list_t *core_info_list,
core_info_t *out_info, const char *path)
{
size_t i;

View File

@ -100,11 +100,6 @@ typedef struct core_info_ctx_find
void core_info_list_get_supported_cores(core_info_list_t *list,
const char *path, const core_info_t **infos, size_t *num_infos);
/* Shallow-copies internal state. Data in *info is invalidated when the
* core_info_list is freed. */
bool core_info_list_get_info(core_info_list_t *list,
core_info_t *info, const char *path);
bool core_info_list_get_display_name(core_info_list_t *list,
const char *path, char *s, size_t len);