forked from aniani/vim
patch 9.0.0834: warning for missing return type
Problem: Warning for missing return type. Solution: Add "int". (San James, closes #11496)
This commit is contained in:
committed by
Bram Moolenaar
parent
25b8420c2b
commit
f8ea10677d
2
src/auto/configure
vendored
2
src/auto/configure
vendored
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -695,6 +695,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
834,
|
||||
/**/
|
||||
833,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user