diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2009-10-03 11:40:32 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2009-10-03 11:40:32 (GMT) |
commit | a973154c668bd4d3267de6edcafa1a3adcfd3e9b (patch) | |
tree | 38ad25266832de529ff2c2f213720d49438b5a89 | |
parent | f2ea245f1dfc7c4941143db49ae81b8fceefea8c (diff) | |
download | fluxbox-a973154c668bd4d3267de6edcafa1a3adcfd3e9b.zip fluxbox-a973154c668bd4d3267de6edcafa1a3adcfd3e9b.tar.bz2 |
compile fixes for sun compiler 5.10: 'i want an extern C function ptr'
-rw-r--r-- | src/Window.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
113 | } scanargs; | 113 | } scanargs; |
114 | 114 | ||
115 | // look for valid enter or leave events (that may invalidate the earlier one we are interested in) | 115 | // look for valid enter or leave events (that may invalidate the earlier one we are interested in) |
116 | static Bool queueScanner(Display *, XEvent *e, char *args) { | 116 | extern "C" int queueScanner(Display *, XEvent *e, char *args) { |
117 | if (e->type == LeaveNotify && | 117 | if (e->type == LeaveNotify && |
118 | e->xcrossing.window == ((scanargs *) args)->w && | 118 | e->xcrossing.window == ((scanargs *) args)->w && |
119 | e->xcrossing.mode == NotifyNormal) { | 119 | e->xcrossing.mode == NotifyNormal) { |