From 99c48fe9974b8d70ca33674658a3da722b0d6466 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 5 Jun 2022 22:05:19 +0100 Subject: patch 8.2.5061: C89 requires signal handlers to return void Problem: C89 requires signal handlers to return void. Solution: Drop RETSIGTYPE and hard-code a void return value. --- src/config.h.in | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/config.h.in') diff --git a/src/config.h.in b/src/config.h.in index 1786f2ff96..5f0d6aef2a 100644 --- a/src/config.h.in +++ b/src/config.h.in @@ -132,12 +132,6 @@ #undef PTYRANGE0 #undef PTYRANGE1 -/* Define as the return type of signal handlers (int or void). */ -#undef RETSIGTYPE - -/* Define as the command at the end of signal handlers ("" or "return 0;"). */ -#undef SIGRETURN - /* Define if struct sigcontext is present */ #undef HAVE_SIGCONTEXT -- cgit v1.2.3