From: Sam James Date: Sat, 5 Nov 2022 15:13:50 +0000 (+0000) Subject: patch 9.0.0834: warning for missing return type X-Git-Tag: v9.0.0834 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f8ea10677d007befbb6f24cd20f35c3bf71c1296;p=vim patch 9.0.0834: warning for missing return type Problem: Warning for missing return type. Solution: Add "int". (San James, closes #11496) --- diff --git a/src/auto/configure b/src/auto/configure index bcb40a782..644daaeec 100755 --- a/src/auto/configure +++ b/src/auto/configure @@ -12420,7 +12420,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* 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 index e63c68512..16ecd101d 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -3654,7 +3654,7 @@ dnl check if struct sigcontext is defined (used for SGI only) 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 index e852ea153..9a8928cb9 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 834, /**/ 833, /**/