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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user