From a973154c668bd4d3267de6edcafa1a3adcfd3e9b Mon Sep 17 00:00:00 2001 From: Mathias Gumz Date: Sat, 3 Oct 2009 13:40:32 +0200 Subject: compile fixes for sun compiler 5.10: 'i want an extern C function ptr' --- src/Window.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Window.cc b/src/Window.cc index 2d4f85a..34b92e1 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -113,7 +113,7 @@ typedef struct scanargs { } scanargs; // look for valid enter or leave events (that may invalidate the earlier one we are interested in) -static Bool queueScanner(Display *, XEvent *e, char *args) { +extern "C" int queueScanner(Display *, XEvent *e, char *args) { if (e->type == LeaveNotify && e->xcrossing.window == ((scanargs *) args)->w && e->xcrossing.mode == NotifyNormal) { -- cgit v0.11.2