Add missing voids for empty parameter list

This commit is contained in:
Romain Vimont
2023-10-23 21:49:42 +02:00
parent 9ade389069
commit 8e7b041f35
6 changed files with 7 additions and 7 deletions

View File

@@ -358,7 +358,7 @@ static void test_index_of_column(void) {
assert(sc_str_index_of_column(" a bc d", 1, " ") == 2);
}
static void test_remove_trailing_cr() {
static void test_remove_trailing_cr(void) {
char s[] = "abc\r";
sc_str_remove_trailing_cr(s, sizeof(s) - 1);
assert(!strcmp(s, "abc"));