From 0663d2ad330c5ccc27644dcb9934141ef715af7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20=C3=85strand?= Date: Tue, 2 Aug 2005 09:27:46 +0000 Subject: [PATCH] Surround public functions requiring X11 headers with #ifndef MAKE_PROTO; these are in xproto.h, which is not generated by cproto. git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@941 423420c4-83ab-492f-b58f-81f9feb106b5 --- xclip.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xclip.c b/xclip.c index bf68d67..6b097d4 100644 --- a/xclip.c +++ b/xclip.c @@ -104,6 +104,7 @@ xclip_provide_selection(XSelectionRequestEvent * req, Atom type, unsigned int fo XSendEvent(g_display, req->requestor, False, NoEventMask, &xev); } +#ifndef MAKE_PROTO void xclip_handle_SelectionNotify(XSelectionEvent * event) { @@ -366,6 +367,7 @@ xclip_handle_PropertyNotify(XPropertyEvent * event) cliprdr_send_text_format_announce(); rdesktop_is_selection_owner = 0; } +#endif void