libstand functions not ansi-c compiliant

Stefan Farfeleder stefan at
Wed Jun 8 16:41:49 GMT 2005

On Wed, Jun 08, 2005 at 03:32:09PM +0200, Michael Reifenberger wrote:
> On Wed, 8 Jun 2005, Stefan Farfeleder wrote:
> >
> >On Wed, Jun 08, 2005 at 12:52:42PM +0200, Michael Reifenberger wrote:
> >>
> >>The advantage would be (thats how I got to this issue at all) that
> >>you don't get compiling errors when including <stdio.h> too.
> >>(I had to do this to get the definition of FILE for the work
> >>on upgrading sys/boot/ficl to ficl4)
> >
> >I'd consider including <stdio.h> from sys/boot/ficl a bug.
> >
> Maybe. Thats debatable.
> But by default ficl.h (coming with ficl4)does inslude <stdio.h>
> and ficl4 says about itself: ...Ficl is written in strict ANSI C...
> Unfortunately <stdio.h> is part of ANSI-C...
> So one cant blame ficl4 for that.

No, but a boot loader is not a hosted implementation.  Ficl needs to be
patched to use our I/O functions.


More information about the freebsd-standards mailing list