CSIRO Mathematics, Informatics and Statistics
|
|
|
Next: The use of void Up: LIAR coding Style Previous: LIAR coding Style
Function definitionsThe ANSI C grammar for a function definition is: function-definitionThe declarator in the function definition must contain one of the forms: direct-declarator ( parameter-type-list )The first form is the new-style C function declarator. The second form is the old C style. The LIAR uses the new-style C function standard. Furthermore, for semantic reasons LIAR C functions definitions should have the declaration-specifiers direct-declarator (on the one line and the declaration-specifiers being the first item of the line. Figure 7 provides an example.
Ed Breen Tue Sep 3 17:19:31 EST 1996 |