diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-04-15 09:58:01 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-04-16 14:09:07 +0200 |
commit | bad67799229b94ea2ba0174319949766ad1c2fc6 (patch) | |
tree | 3a698e5e7544952aefe5cf927a685c76759a8088 /nx-X11/lib/X11/DrLine.c | |
parent | 097562b8bbc04d421e0ab5e1e7a0b705e393c20e (diff) | |
download | nx-libs-bad67799229b94ea2ba0174319949766ad1c2fc6.tar.gz nx-libs-bad67799229b94ea2ba0174319949766ad1c2fc6.tar.bz2 nx-libs-bad67799229b94ea2ba0174319949766ad1c2fc6.zip |
old-arch cleanup: Drop CRAY support (i.e., drop code related to CRAY, _CRAY, WORD64, WORD64ALIGN, MUSTCOPY, UNSIGNEDBITFIELDS definitions).
Diffstat (limited to 'nx-X11/lib/X11/DrLine.c')
-rw-r--r-- | nx-X11/lib/X11/DrLine.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/nx-X11/lib/X11/DrLine.c b/nx-X11/lib/X11/DrLine.c index 59095069b..4a7c620b5 100644 --- a/nx-X11/lib/X11/DrLine.c +++ b/nx-X11/lib/X11/DrLine.c @@ -44,12 +44,6 @@ XDrawLine (dpy, d, gc, x1, y1, x2, y2) int x1, y1, x2, y2; { register xSegment *segment; -#ifdef MUSTCOPY - xSegment segmentdata; - long len = SIZEOF(xSegment); - - segment = &segmentdata; -#endif /* not MUSTCOPY */ LockDisplay(dpy); FlushGC(dpy, gc); @@ -66,21 +60,15 @@ XDrawLine (dpy, d, gc, x1, y1, x2, y2) && (((char *)dpy->bufptr - (char *)req) < (gc->values.line_width ? wsize : zsize)) ) { req->length += SIZEOF(xSegment) >> 2; -#ifndef MUSTCOPY segment = (xSegment *) dpy->bufptr; dpy->bufptr += SIZEOF(xSegment); -#endif /* not MUSTCOPY */ } else { GetReqExtra (PolySegment, SIZEOF(xSegment), req); req->drawable = d; req->gc = gc->gid; -#ifdef MUSTCOPY - dpy->bufptr -= SIZEOF(xSegment); -#else segment = (xSegment *) NEXTPTR(req,xPolySegmentReq); -#endif /* MUSTCOPY */ } segment->x1 = x1; @@ -88,10 +76,6 @@ XDrawLine (dpy, d, gc, x1, y1, x2, y2) segment->x2 = x2; segment->y2 = y2; -#ifdef MUSTCOPY - Data (dpy, (char *) &segmentdata, len); -#endif /* MUSTCOPY */ - UnlockDisplay(dpy); SyncHandle(); } |