Token pasting in #include directive

Larry Jones scjones at sdrc.UUCP
Tue Nov 28 09:13:50 AEST 1989


In article <18672 at watdragon.waterloo.edu>, afscian at violet.waterloo.edu (Anthony Scian) writes:
> What about the library prototypes that are coded "int foo( int x, int y )"
> when they should be "int foo( int __x, int __y )"?

Eh?  Why is the second any more correct than the first?  Since
the argument names in a prototype only have prototype scope, they
can't conflict with any other names in the program and therefor
do not need leading underscores.
----
Larry Jones                         UUCP: uunet!sdrc!scjones
SDRC                                      scjones at SDRC.UU.NET
2000 Eastman Dr.                    BIX:  ltl
Milford, OH  45150-2789             AT&T: (513) 576-2070
"You know how Einstein got bad grades as a kid?  Well MINE are even WORSE!"
-Calvin



More information about the Comp.std.c mailing list