changeset 30998:10aa54743543 v9.0.0834

patch 9.0.0834: warning for missing return type Commit: https://github.com/vim/vim/commit/f8ea10677d007befbb6f24cd20f35c3bf71c1296 Author: Sam James <sam@gentoo.org> Date: Sat Nov 5 15:13:50 2022 +0000 patch 9.0.0834: warning for missing return type Problem: Warning for missing return type. Solution: Add "int". (San James, closes https://github.com/vim/vim/issues/11496)
author Bram Moolenaar <Bram@vim.org>
date Sat, 05 Nov 2022 16:15:03 +0100
parents afe8d3697f6b
children 9dc9ae5c721d
files src/auto/configure src/configure.ac src/version.c
diffstat 3 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -12420,7 +12420,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
 /* end confdefs.h.  */
 
 #include <signal.h>
-test_sig()
+int test_sig()
 {
     struct sigcontext *scont;
     scont = (struct sigcontext *)0;
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -3654,7 +3654,7 @@ dnl check if struct sigcontext is define
 AC_MSG_CHECKING(for struct sigcontext)
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
 #include <signal.h>
-test_sig()
+int test_sig()
 {
     struct sigcontext *scont;
     scont = (struct sigcontext *)0;
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    834,
+/**/
     833,
 /**/
     832,