]> granicus.if.org Git - vim/commitdiff
patch 9.0.0834: warning for missing return type v9.0.0834
authorSam James <sam@gentoo.org>
Sat, 5 Nov 2022 15:13:50 +0000 (15:13 +0000)
committerBram Moolenaar <Bram@vim.org>
Sat, 5 Nov 2022 15:13:50 +0000 (15:13 +0000)
Problem:    Warning for missing return type.
Solution:   Add "int". (San James, closes #11496)

src/auto/configure
src/configure.ac
src/version.c

index bcb40a782429034d0130b8279c952ea3708586ee..644daaeec4657210a1c9910ad2ac457ae8fd1091 100755 (executable)
@@ -12420,7 +12420,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 #include <signal.h>
-test_sig()
+int test_sig()
 {
     struct sigcontext *scont;
     scont = (struct sigcontext *)0;
index e63c6851231cc189a22503496a13848ee9fac6fe..16ecd101d19b1e7bba454e1d8893757e48c64cb0 100644 (file)
@@ -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 <signal.h>
-test_sig()
+int test_sig()
 {
     struct sigcontext *scont;
     scont = (struct sigcontext *)0;
index e852ea1530c907b95213fdee222b7005f9d5a76b..9a8928cb94e265bfd68dd67274777e744df471f3 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    834,
 /**/
     833,
 /**/