compile fixes for sun compiler 5.10: 'i want an extern C function ptr'
This commit is contained in:
parent
f2ea245f1d
commit
a973154c66
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue