From 79137176ddf04f68fd1c27f8da659d57404384b1 Mon Sep 17 00:00:00 2001 From: Evan Miller Date: Sat, 4 May 2024 08:50:03 -0400 Subject: [PATCH] [test] fix function prototype --- src/test/test_dta_days.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/test_dta_days.c b/src/test/test_dta_days.c index 11a894ea..80d68bf8 100644 --- a/src/test/test_dta_days.c +++ b/src/test/test_dta_days.c @@ -8,7 +8,7 @@ static inline int is_leap(int year) { return ((year % 4 == 0 && year % 100 != 0) || year % 400 ==0); } -void test_dta_dates() { +void test_dta_dates(void) { int daysPerMonth[] = {31,28,31,30,31,30,31,31,30,31,30,31}; int daysPerMonthLeap[] = {31,29,31,30,31,30,31,31,30,31,30,31}; char buf[1024];