[PATCH] Kill warnings in gconv.h

Jakub Jelinek jakub@redhat.com
Thu May 4 09:31:00 GMT 2000


Hi!

Including gconv.h when gcc -pedantic spits out unneeded warnings.
This patch kills them.

2000-05-04  Jakub Jelinek  <jakub@redhat.com>

	* iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
	happy.

--- libc/iconv/gconv.h.jj	Thu Apr 13 09:25:30 2000
+++ libc/iconv/gconv.h	Thu May  4 18:17:30 2000
@@ -124,7 +124,7 @@ typedef struct __gconv_info
 {
   size_t __nsteps;
   struct __gconv_step *__steps;
-  struct __gconv_step_data __data[0];
+  __extension__ struct __gconv_step_data __data[0];
 } *__gconv_t;
 
 #endif /* gconv.h */

	Jakub


More information about the Libc-hacker mailing list