diff options
| author | John Hawthorn <john@hawthorn.email> | 2026-03-26 13:37:13 -0700 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2026-04-02 12:26:11 -0700 |
| commit | 7aa3cbb0f5994c7e00ed9c1f36df26bcdc4bf7f6 (patch) | |
| tree | 69a77fcb84ea301f5ca6f901d8c32290de61af58 | |
| parent | 89133221bf259840c9ba63a9457c18a37f7d8c28 (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 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 <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 || @@ -2564,8 +2562,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) { } |
