Subroutine layout in C
Doug Gwyn
gwyn at smoke.BRL.MIL
Sat Jan 7 11:04:25 AEST 1989
In article <2459 at ssc-vax.UUCP> dmg at ssc-vax.UUCP (David Geary) writes:
>#define PRIVATE static
>PRIVATE int X() { ... }
The only legitimate reason for doing this is to make it convenient
to force these functions to have external linkage when using a
debugger that doesn't provide decent support for static functions.
>#define PUBLIC
This one is a waste of time.
More information about the Comp.lang.c
mailing list