summaryrefslogtreecommitdiffstats
path: root/xlib
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-10-13 07:39:55 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-10-13 07:39:55 (GMT)
commit3dfde5aa311c79bd8c7d800ed0feafe1a8ea2910 (patch)
tree7aff00ec0fb1eded750698affc82a9fe8eda7f42 /xlib
parentc7f50e9c746f5a6eeabdcb8e0911ce0e3db545ca (diff)
downloadtk-3dfde5aa311c79bd8c7d800ed0feafe1a8ea2910.zip
tk-3dfde5aa311c79bd8c7d800ed0feafe1a8ea2910.tar.gz
tk-3dfde5aa311c79bd8c7d800ed0feafe1a8ea2910.tar.bz2
Fix build with MSVC: error C2375: 'XPolygonRegion' : redefinition; different linkage. Same with XPointInRegion().
Diffstat (limited to 'xlib')
-rw-r--r--xlib/X11/Xutil.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/xlib/X11/Xutil.h b/xlib/X11/Xutil.h
index bf372fb..8141b1d 100644
--- a/xlib/X11/Xutil.h
+++ b/xlib/X11/Xutil.h
@@ -543,22 +543,6 @@ extern int XOffsetRegion(
#endif
);
-extern Bool XPointInRegion(
-#if NeedFunctionPrototypes
- Region /* r */,
- int /* x */,
- int /* y */
-#endif
-);
-
-extern Region XPolygonRegion(
-#if NeedFunctionPrototypes
- XPoint* /* points */,
- int /* n */,
- int /* fill_rule */
-#endif
-);
-
extern int XRectInRegion(
#if NeedFunctionPrototypes
Region /* r */,