use ansi c declarations

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15435 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-06-16 19:45:52 +00:00
parent bf6767ab53
commit 7988a94231
7 changed files with 9 additions and 9 deletions

View File

@@ -34,11 +34,11 @@ if test "$no_x" != yes; then
LIBS="$ac_save_libs $foo $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
AC_RUN_IFELSE([
#include <X11/Xlib.h>
foo()
foo(void)
{
XOpenDisplay(NULL);
}
main()
main(int argc, char **argv)
{
return 0;
}