DragonFly submit List (threaded) for 2004-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: patch to un-K&R-ify libkern
Joerg Sonnenberger wrote:
Yes, the prototypes are in machine/profile.h. It is common practise
to have the prototypes include (void) and leave it out for the function
declaration. Anyway, if you stumple over a function without prototyp,
that is a bug and should be noticed. Anyway IIRC in ISO C a function
without arguments might be considered as K&R style and therefore an
implicit (...) is assumed. This does not happen if a ISO prototyp was found.
Ah, ok. My find/grep-fu wasn't up to task last night (well, ok, I was
busy with other stuff :-), and I didn't see the headers.
Dave
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]