Mail Archives: djgpp-workers/1998/06/12/06:01:55
DJ Delorie wrote:
>
> > The `inb' and `outb' functions are missing their prototypes in <pc.h>.
> > Here is a patch.
>
> Beware - some prototypes are left out of headers because various
> systems have conflicting definitions of them. xmalloc, for example,
> is defined different ways in different GNU packages, and none expect
> the system headers to have them.
If I'm correct, the compiler assumes the default when a prototype is
omitted. Since the default is ``int'', isn't omitting a prototype
equally as bad as providing some prototype?
--
\ Vik /-_-_-_-_-_-_/
\___/ Heyndrickx /
\ /-_-_-_-_-_-_/ Knight in the Order of the Unsigned Types
- Raw text -