use ansi c declarations

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15422 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-06-16 18:59:29 +00:00
parent c9d286d742
commit d01b7f137f
2 changed files with 4 additions and 4 deletions

View File

@@ -12,12 +12,12 @@ AC_CACHE_VAL(ac_cv___function__, [
AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <string.h>
static char *foo()
static char *foo(void)
{
return __FUNCTION__;
}
int main()
int main(int argc, char **argc)
{
return strcmp(foo(), "foo") != 0;
}