libpkgconf: personality: remove const from the default personality, since it's not really const

pull/185/head
William Pitcock 2018-05-09 22:52:27 -05:00
parent 25b2105e93
commit 40897f246b
2 changed files with 2 additions and 2 deletions

View File

@ -219,7 +219,7 @@ PKGCONF_API void pkgconf_client_set_trace_handler(pkgconf_client_t *client, pkgc
PKGCONF_API void pkgconf_client_dir_list_build(pkgconf_client_t *client, const pkgconf_cross_personality_t *personality);
/* personality.c */
PKGCONF_API const pkgconf_cross_personality_t *pkgconf_cross_personality_default(void);
PKGCONF_API pkgconf_cross_personality_t *pkgconf_cross_personality_default(void);
PKGCONF_API pkgconf_cross_personality_t *pkgconf_cross_personality_find(const char *triplet);
#define PKGCONF_IS_MODULE_SEPARATOR(c) ((c) == ',' || isspace ((unsigned int)(c)))

View File

@ -80,7 +80,7 @@ build_default_search_path(pkgconf_list_t* dirlist)
* :rtype: pkgconf_cross_personality_t*
* :return: the default cross-compile personality
*/
const pkgconf_cross_personality_t *
pkgconf_cross_personality_t *
pkgconf_cross_personality_default(void)
{
if (default_personality_init)