openbsd-ports/devel/startup-notification/patches/patch-test_test-send-xmessage-xcb_c
2009-12-25 21:36:22 +00:00

20 lines
528 B
Plaintext

$OpenBSD: patch-test_test-send-xmessage-xcb_c,v 1.1 2009/12/25 21:36:22 phessler Exp $
--- test/test-send-xmessage-xcb.c.orig Fri Dec 25 13:49:47 2009
+++ test/test-send-xmessage-xcb.c Fri Dec 25 13:50:16 2009
@@ -34,6 +34,7 @@ main (int argc, char **argv)
{
xcb_connection_t *xconnection;
SnDisplay *display;
+ int screen;
if (argc != 4)
{
@@ -41,7 +42,6 @@ main (int argc, char **argv)
return 1;
}
- int screen;
xconnection = xcb_connect (NULL, &screen);
if (xconnection == NULL)
{