From a1620a4c559b148324f98cc959c481ece926f4a5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 27 Nov 2000 17:54:38 +0000 Subject: Update. 2000-11-27 Ulrich Drepper * iconv/gconv.h (__gconv_info): Define __data element using __flexarr. * misc/sys/cdefs.h: Define __flexarr. Proposed by Joseph S. Myers . * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings. * iconv/skeleton.c: Likewise. * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast. * iconv/loop.c (get16): Add const to cast. (get32): Likewise. --- iconv/gconv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iconv/gconv.h') diff --git a/iconv/gconv.h b/iconv/gconv.h index 03574d859e..39567524a8 100644 --- a/iconv/gconv.h +++ b/iconv/gconv.h @@ -168,7 +168,7 @@ typedef struct __gconv_info { size_t __nsteps; struct __gconv_step *__steps; - __extension__ struct __gconv_step_data __data[0]; + __extension__ struct __gconv_step_data __data __flexarr; } *__gconv_t; #endif /* gconv.h */ -- cgit v1.2.3