summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2026-03-26 13:37:13 -0700
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2026-05-14 13:25:51 +0900
commite157df6ea608b5f2488bae6ceb1609aed5f1b987 (patch)
tree2c46ca14c6807f46b4477593a934d4a605bed84f
parent2f223e90edf40f5d537760cb26c77b608bddff36 (diff)
Convert K&R function definitions in configure.ac
-rw-r--r--configure.ac7
1 files changed, 2 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 5720a474bb..4e5e6466dd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2413,9 +2413,7 @@ AC_CACHE_CHECK(for negative time_t for gmtime(3), rb_cv_negative_time_t,
#include <time.h>
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 ||
@@ -2499,8 +2497,7 @@ AS_IF([test "$ac_cv_func_sigprocmask" = yes && test "$ac_cv_func_sigaction" = ye
#include <signal.h>
void
-sig_handler(dummy)
- int dummy;
+sig_handler(int dummy)
{
}