Argument declaration style (Was: ANSI C prototypes)

Peter Klausler pmk at craycos.com
Thu Nov 8 05:20:51 AEST 1990


In article <930 at demott.COM> kdq at demott.COM (Kevin D. Quitt) writes:
>    We like the ANSI prototypes, and for ease of search/grep, we use the
>style:
>
>void foo ( int x, int y )
>
>    This way the only occurance of the function name followed by space parens
>is the declaration.

I also like ANSI prototypes, but use this style:

void
foo (int x, int y) {
}

so that the function name always appears in column 1.



More information about the Comp.lang.c mailing list