From a92467f3c69d5d68190308fc6ce87a4c38ce8e76 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Thu, 13 Feb 2020 22:10:47 +0100 Subject: Clipboard.h: add missing externs --- nx-X11/programs/Xserver/hw/nxagent/Clipboard.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'nx-X11/programs/Xserver') diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.h b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.h index a7d22ab97..96821b482 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.h +++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.h @@ -61,9 +61,15 @@ extern void nxagentSetSelectionOwner(Selection *pSelection); extern int nxagentConvertSelection(ClientPtr client, WindowPtr pWin, Atom selection, Window requestor, Atom property, Atom target, Time time); -void nxagentClearSelection(); -void nxagentRequestSelection(); -void nxagentHandleSelectionNotifyFromXServer(); +#ifdef XEvent +extern void nxagentClearSelection(XEvent *X); +extern void nxagentRequestSelection(XEvent *X); +extern void nxagentHandleSelectionNotifyFromXServer(XEvent *X); +#else +extern void nxagentClearSelection(); +extern void nxagentRequestSelection(); +extern void nxagentHandleSelectionNotifyFromXServer(); +#endif -int nxagentFindCurrentSelectionIndex(Atom sel); +extern int nxagentFindCurrentSelectionIndex(Atom sel); #endif /* __Clipboard_H__ */ -- cgit v1.2.3