Skip to content

Commit

Permalink
Update comments with doxytoolkit format
Browse files Browse the repository at this point in the history
  • Loading branch information
8dcc committed Apr 9, 2023
1 parent fde6b1f commit 88aed8a
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,27 @@
/**
* Simple function for adding 2 integers.
*
* @brief Sum a + b
* @todo Rename function
*
* @brief Sum a + b
*
* @param a, b The numbers to sum
*
* @return Sum of a + b
* @author 8dcc
*/
int test_func(int a, int b) {
return a + b;
}

/**
* @todo Argument handling
* @brief Entry point of the program
*
* @brief Entry point of the program
*
* @param argc Number of arguments
* @param argv Vector of string arguments
*
* @return Exit code
*/
int main(int argc, char** argv) {
printf("Hello, world!\n");
Expand Down

0 comments on commit 88aed8a

Please sign in to comment.