# HG changeset patch # User Bram Moolenaar # Date 1667661303 -3600 # Node ID 10aa54743543afc2d9351ff882b204a67aa37232 # Parent afe8d3697f6bd49c3bf53a9e6d949124323d26e7 patch 9.0.0834: warning for missing return type Commit: https://github.com/vim/vim/commit/f8ea10677d007befbb6f24cd20f35c3bf71c1296 Author: Sam James 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) diff --git a/src/auto/configure b/src/auto/configure --- a/src/auto/configure +++ b/src/auto/configure @@ -12420,7 +12420,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ /* end confdefs.h. */ #include -test_sig() +int test_sig() { struct sigcontext *scont; scont = (struct sigcontext *)0; diff --git a/src/configure.ac b/src/configure.ac --- 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 -test_sig() +int test_sig() { struct sigcontext *scont; scont = (struct sigcontext *)0; diff --git a/src/version.c b/src/version.c --- 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,