diff options
| author | John Hawthorn <john@hawthorn.email> | 2026-03-26 13:37:13 -0700 |
|---|---|---|
| committer | nagachika <nagachika@ruby-lang.org> | 2026-04-14 21:25:50 +0900 |
| commit | 0280c61fb4ac408611721dd9680e4bb9a436a9c3 (patch) | |
| tree | ed834d8ff8e0813dfccce720a17154de6faf0ccc | |
| parent | 76cca827ab52ab1d346a728f068d5b8da3e2952b (diff) | |
Convert K&R function definitions in configure.ac
| -rw-r--r-- | configure.ac | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 71f6b6c9bd..ebc977200c 100644 --- a/configure.ac +++ b/configure.ac @@ -2442,9 +2442,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 || @@ -2528,8 +2526,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) { } |
