1 /* Origin: PR c/3116 from Andreas Jaeger <aj@suse.de>. */ 2 /* When determining type compatibility of function types, we must remove 3 qualifiers from argument types. We used to fail to do this properly 4 in store_parm_decls when comparing prototype and non-prototype 5 declarations. */ 6 struct _IO_FILE { 7 int _flags; 8 }; 9 10 typedef struct _IO_FILE __FILE; 11 typedef struct _IO_FILE _IO_FILE; 12 typedef long int wchar_t; 13 14 extern wchar_t *fgetws (wchar_t *__restrict __ws, int __n, 15 __FILE *__restrict __stream); 16 17 wchar_t * fgetws(buf,n,fp)18fgetws (buf, n, fp) 19 wchar_t *buf; 20 int n; 21 _IO_FILE *fp; 22 { 23 return (wchar_t *)0; 24 } 25