diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | iconv/gconv.h | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2016-11-06 Aurelien Jarno <aurelien@aurel32.net> + + * iconv/gconv.h (__gconv_info): Define __data element using a + zero-length array. + 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com> * math/test-tgmath2.c: Split up test function. diff --git a/iconv/gconv.h b/iconv/gconv.h index 8d8ce58..a870280 100644 --- a/iconv/gconv.h +++ b/iconv/gconv.h @@ -139,7 +139,7 @@ typedef struct __gconv_info { size_t __nsteps; struct __gconv_step *__steps; - __extension__ struct __gconv_step_data __data __flexarr; + __extension__ struct __gconv_step_data __data[0]; } *__gconv_t; /* Transliteration using the locale's data. */ |