diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-05-02 11:09:33 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-05-02 11:09:33 (GMT) |
commit | c7759d4c7d331a7db4a2b4d9cf0444cd9bcf1702 (patch) | |
tree | dcd1b9c79c617c0de3f19bd2da01bac269de5268 /xlib/xdraw.c | |
parent | f82df37a90029d95b86d6fad1d14ddb3323419dd (diff) | |
download | tk-c7759d4c7d331a7db4a2b4d9cf0444cd9bcf1702.zip tk-c7759d4c7d331a7db4a2b4d9cf0444cd9bcf1702.tar.gz tk-c7759d4c7d331a7db4a2b4d9cf0444cd9bcf1702.tar.bz2 |
change signature of all X11 functions to match those of CYGWIN
Diffstat (limited to 'xlib/xdraw.c')
-rw-r--r-- | xlib/xdraw.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xlib/xdraw.c b/xlib/xdraw.c index 281a7e8..6c405ad 100644 --- a/xlib/xdraw.c +++ b/xlib/xdraw.c @@ -28,7 +28,7 @@ *---------------------------------------------------------------------- */ -void +int XDrawLine(display, d, gc, x1, y1, x2, y2) Display* display; Drawable d; @@ -42,6 +42,7 @@ XDrawLine(display, d, gc, x1, y1, x2, y2) points[1].x = x2; points[1].y = y2; XDrawLines(display, d, gc, points, 2, CoordModeOrigin); + return 0; } /* @@ -61,7 +62,7 @@ XDrawLine(display, d, gc, x1, y1, x2, y2) *---------------------------------------------------------------------- */ -void +int XFillRectangle(display, d, gc, x, y, width, height) Display* display; Drawable d; @@ -77,4 +78,5 @@ XFillRectangle(display, d, gc, x, y, width, height) rectangle.width = width; rectangle.height = height; XFillRectangles(display, d, gc, &rectangle, 1); + return 0; } |