Skip to content

Commit ec14ba5

Browse files
committed
Convert K&R function definitions in configure.ac
1 parent 76cca82 commit ec14ba5

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

configure.ac

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2442,9 +2442,7 @@ AC_CACHE_CHECK(for negative time_t for gmtime(3), rb_cv_negative_time_t,
24422442
#include <time.h>
24432443
24442444
void
2445-
check(tm, y, m, d, h, s)
2446-
struct tm *tm;
2447-
int y, m, d, h, s;
2445+
check(struct tm *tm, int y, int m, int d, int h, int s)
24482446
{
24492447
if (!tm ||
24502448
tm->tm_year != y ||
@@ -2528,8 +2526,7 @@ AS_IF([test "$ac_cv_func_sigprocmask" = yes && test "$ac_cv_func_sigaction" = ye
25282526
#include <signal.h>
25292527
25302528
void
2531-
sig_handler(dummy)
2532-
int dummy;
2529+
sig_handler(int dummy)
25332530
{
25342531
}
25352532

0 commit comments

Comments
 (0)