mirror of
https://github.com/cc65/cc65.git
synced 2024-12-21 20:29:24 +00:00
add comment on function prototypes
This commit is contained in:
parent
31a0d5cc40
commit
aff8248341
@ -204,6 +204,18 @@ char* nextLine (FILE* f);
|
||||
|
||||
### Header files
|
||||
|
||||
* All Headers should start with a copyright/license banner
|
||||
* Function prototypes must be a single line, not contain the redundant
|
||||
"extern" keyword, and followed by a brief comment that explains what
|
||||
the function does, and separated from the next prototype by a blank
|
||||
line:
|
||||
|
||||
~~~C
|
||||
void __fastcall__ cclear (unsigned char length);
|
||||
/* Clear part of a line (write length spaces). */
|
||||
|
||||
~~~
|
||||
|
||||
Headers that belong to the standard library (libc) must
|
||||
conform with the C standard. That means:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user