Skip to content

Commit

Permalink
add comment on function prototypes
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdudz authored Sep 8, 2024
1 parent 31a0d5c commit aff8248
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit aff8248

Please sign in to comment.