`va_dcl' macro question
Maarten Litmaath
maart at cs.vu.nl
Wed Jan 25 15:26:18 AEST 1989
Anybody got an example (of some weird architecture) to show why it has been
decided that no semicolon shall follow `va_dcl'?
On a Sun (4.3BSD), a VAX (4.3BSD) and a Mantra (SysV) the define for `va_dcl'
is simply:
# define va_dcl int va_alist;
In these cases the semicolon could have been removed from the `define' and
added to the invocation:
int printf(fmt, va_alist)
char *fmt;
va_dcl;
{
...
}
To me this appears more natural.
--
Lee Harvey Oswald was a patsy. |Maarten Litmaath @ VU Amsterdam:
Or a superman. |maart at cs.vu.nl, mcvax!botter!maart
More information about the Comp.lang.c
mailing list