$NetBSD: patch-ab,v 1.1 2004/11/03 11:22:58 jmmv Exp $ --- tests/test_config.c.orig 2004-10-01 21:52:02.000000000 +0200 +++ tests/test_config.c @@ -46,6 +46,7 @@ int main( int argc, char * const argv[] const char* layouts = NULL; const char* options = NULL; int debugLevel = 0; + Display* dpy; while (1) { @@ -89,7 +90,7 @@ int main( int argc, char * const argv[] exit( 0 ); } - Display* dpy = XOpenDisplay( NULL ); + dpy = XOpenDisplay( NULL ); if ( dpy == NULL ) { fprintf( stderr, "Could not open display\n" );