Mail Archives: djgpp/1997/12/30/18:29:38
At 10:37 12/29/1997 -0500, A. Sinan Unur wrote:
>one question: would it be better to explicitly declare the argument and
>return types for the dummy function as void instead of relying on
>default behavior? probably doesn't make a difference, but ...
It doesn't make a difference. Allegro only looks at the address of the
XXX_end label to find how much to lock. It makes no difference what code the
compiler may actually generate. The only *possible* advantage I can think of
is to avoid warnings that the compiler may someday issue. It's a one-line
fix anyway.
Nate Eldredge
eldredge AT ap DOT net
- Raw text -