On Tuesday 05 November 2013 09.48:44 Eric Blake wrote: > On 11/05/2013 09:43 AM, GW wrote: > > In file included from close-stream.c:25:0: > > fpending.h:28:8: error: conflicting types for '__fpending' > > In file included from ./stdio.h:43:0, > > > > from close-stream.h:1, > > > > from close-stream.c:20: > > /usr/include/stdio.h:354:11: note: previous declaration of '__fpending' > > was here *** Error code 1 > > Can you also show the relevant portion of your /usr/include/stdio.h > (around line 354)?
Sure. __fpending is declared as such in /usr/include/stdio.h: __ssize_t __fpending(const FILE *); Just to make things clear: __ssize_t is declared earlier in the header as this: typedef __ssize_t ssize_t;