mirror of git://git.sv.gnu.org/nano.git
change instances of "int main ()" to "int main(void)"
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1688 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
221ebcdf70
commit
35557c555c
|
@ -210,6 +210,8 @@ CVS code -
|
|||
Accordingly, only include time.h if we use this function, i.e,
|
||||
if NANO_EXTRA is defined. (DLR)
|
||||
- Add explanatory comment. (DLR)
|
||||
- configure.ac:
|
||||
- Change instances of "int main ()" to "int main(void)". (DLR)
|
||||
- faq.html:
|
||||
- Fixed inaccuracy: multibuffer mode was first in nano 1.1.0,
|
||||
not 1.1.12. (DLR)
|
||||
|
|
|
@ -43,7 +43,7 @@ AC_CHECK_HEADER(regex.h,
|
|||
AC_TRY_RUN([
|
||||
#include <sys/types.h>
|
||||
#include <regex.h>
|
||||
int main () { regex_t reg; size_t n = 1; regmatch_t r; regcomp(®, "\\<", 0); regexec(®, "", n, &r, 0); regfree(®); return 0; }],
|
||||
int main(void) { regex_t reg; size_t n = 1; regmatch_t r; regcomp(®, "\\<", 0); regexec(®, "", n, &r, 0); regfree(®); return 0; }],
|
||||
AC_MSG_RESULT(no),
|
||||
AC_MSG_RESULT(yes); AC_DEFINE(BROKEN_REGEXEC, 1, [Define this if your regexec() function segfaults when passed an empty string under certain conditions.])
|
||||
)
|
||||
|
@ -201,7 +201,7 @@ AC_ARG_WITH(slang,
|
|||
AC_TRY_RUN([
|
||||
#include <stdio.h>
|
||||
#include <slcurses.h>
|
||||
int main () { SLtt_initialize (NULL); return 0; }],
|
||||
int main(void) { SLtt_initialize(NULL); return 0; }],
|
||||
[AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(USE_SLANG, 1, [Define to use the slang wrappers for curses instead of native curses.])
|
||||
slang_support=yes
|
||||
|
@ -223,7 +223,7 @@ int main () { SLtt_initialize (NULL); return 0; }],
|
|||
AC_TRY_RUN([
|
||||
#include <stdio.h>
|
||||
#include <slcurses.h>
|
||||
int main () { SLtt_initialize (NULL); return 0; }],
|
||||
int main(void) { SLtt_initialize(NULL); return 0; }],
|
||||
[AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(USE_SLANG, 1, [Define to use the slang wrappers for curses instead of native curses.])
|
||||
slang_support=yes
|
||||
|
@ -240,7 +240,7 @@ int main () { SLtt_initialize (NULL); return 0; }],
|
|||
AC_TRY_RUN([
|
||||
#include <stdio.h>
|
||||
#include <slcurses.h>
|
||||
int main () { SLtt_initialize (NULL); return 0; }],
|
||||
int main(void) { SLtt_initialize(NULL); return 0; }],
|
||||
[AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(USE_SLANG, 1, [Define to use the slang wrappers for curses instead of native curses.])
|
||||
slang_support=yes
|
||||
|
|
Loading…
Reference in New Issue