iconv: Fix the build on GCC6+.

Patch from http://git.savannah.gnu.org/gitweb/?p=libiconv.git;a=commit;h=b29089d8b43abc8fba073da7e6dccaeba56b2b70
to fix an "undefined reference" error to that function (https://savannah.gnu.org/bugs/?47953).
This commit is contained in:
waddlesplash 2018-05-19 20:35:33 -04:00
parent 71819cc094
commit 39f5d71fe4

View File

@ -162,8 +162,12 @@ static const struct alias sysdep_aliases[] = {
};
#if defined(__GNUC__) && !defined(DEBUG)
__inline
#else
#ifdef __cplusplus
inline
#endif
const struct alias *
#endif
static const struct alias *
aliases2_lookup (register const char *str)
{
const struct alias * ptr;