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