compile fixes for sun compiler 5.10: 'i want an extern C function ptr'
Mathias Gumz akira at fluxbox dot org
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/Window.cc
→
src/Window.cc
@@ -113,7 +113,7 @@ Bool leave, inferior, enter;
} 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) {