Skip to content

Commit 547b73c

Browse files
committed
Fix strict C icx error in base alloc test
This commit fixes following: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] Signed-off-by: Krzysztof Filipek <[email protected]>
1 parent 3227c89 commit 547b73c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_base_alloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ static void *start_routine(void *arg) {
4646
return NULL;
4747
}
4848

49-
int main() {
49+
int main(void) {
5050
pthread_t thread[NTHREADS];
5151
umf_ba_pool_t *pool = umf_ba_create(ALLOCATION_SIZE);
5252

0 commit comments

Comments
 (0)