From 7aa3cbb0f5994c7e00ed9c1f36df26bcdc4bf7f6 Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Thu, 26 Mar 2026 13:37:13 -0700 Subject: Convert K&R function definitions in configure.ac --- configure.ac | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 2bbce78fd0..b4dc31c269 100644 --- a/configure.ac +++ b/configure.ac @@ -2478,9 +2478,7 @@ AC_CACHE_CHECK(for negative time_t for gmtime(3), rb_cv_negative_time_t, #include void -check(tm, y, m, d, h, s) - struct tm *tm; - int y, m, d, h, s; +check(struct tm *tm, int y, int m, int d, int h, int s) { if (!tm || tm->tm_year != y || @@ -2564,8 +2562,7 @@ AS_IF([test "$ac_cv_func_sigprocmask" = yes && test "$ac_cv_func_sigaction" = ye #include void -sig_handler(dummy) - int dummy; +sig_handler(int dummy) { } -- cgit v1.2.3