diff options
author | Adam Jackson <ajax@nwnk.net> | 2006-02-15 20:47:44 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2006-02-15 20:47:44 +0000 |
commit | 7d7fc927cd90146788780477b8e3379d91c3b910 (patch) | |
tree | 8eaf185b4b04ff0ec58167bee639cd538fc483ed | |
parent | f105b8da11fcf337512b3c39da3368f98da07a33 (diff) |
Remove a few #ifdef vms; whatever problem that was solving should assuredly
be solved some other way.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | XTrap/xtrapddmi.c | 18 | ||||
-rw-r--r-- | XTrap/xtrapdiswp.c | 72 |
3 files changed, 5 insertions, 90 deletions
@@ -91,6 +91,11 @@ * xkb/xkbInit.c: Mark everything in dixsym.c as _X_EXPORT. + * XTrap/xtrapddmi.c: + * XTrap/xtrapdiswp.c: + Remove a few #ifdef vms; whatever problem that was solving should + assuredly be solved some other way. + 2006-02-15 Kristian Høgsberg <krh@redhat.com> * GL/symlink-mesa.sh: diff --git a/XTrap/xtrapddmi.c b/XTrap/xtrapddmi.c index 9a544ba64..3f3720f5f 100644 --- a/XTrap/xtrapddmi.c +++ b/XTrap/xtrapddmi.c @@ -161,21 +161,3 @@ int XETrapSimulateXEvent(register xXTrapInputReq *request, return(status); } #endif /* _XINPUT */ - -#if defined vms && !defined LINKED_IN -/* Used by swapping code not visible from VMS (from main.c) */ -#ifndef BLADE -_X_EXPORT void -NotImplemented() -{ - FatalError("Not implemented"); -} -#endif - -_X_EXPORT int -ProcBadRequest( ClientPtr client) -{ - return (BadRequest); -} - -#endif /* vms && ! LINKED_IN */ diff --git a/XTrap/xtrapdiswp.c b/XTrap/xtrapdiswp.c index c43f6e332..b0fa43957 100644 --- a/XTrap/xtrapdiswp.c +++ b/XTrap/xtrapdiswp.c @@ -936,75 +936,3 @@ void XETSwNoOperation(xReq *data) { /* noop -- don't do anything */ } - -/* Byte swap a list of longs */ -#if defined vms && !defined MITR5 -#ifndef LINKED_IN -void SwapLongs ( register long *list, register unsigned long count) -{ - register char n; - - while (count >= 8) { - swapl(list+0, n); - swapl(list+1, n); - swapl(list+2, n); - swapl(list+3, n); - swapl(list+4, n); - swapl(list+5, n); - swapl(list+6, n); - swapl(list+7, n); - list += 8; - count -= 8; - } - if (count != 0) { - do { - swapl(list, n); - list++; - } while (--count != 0); - } -} - -/* Byte swap a list of shorts */ - -void SwapShorts (register short *list, register unsigned long count) -{ - register char n; - - while (count >= 16) { - swaps(list+0, n); - swaps(list+1, n); - swaps(list+2, n); - swaps(list+3, n); - swaps(list+4, n); - swaps(list+5, n); - swaps(list+6, n); - swaps(list+7, n); - swaps(list+8, n); - swaps(list+9, n); - swaps(list+10, n); - swaps(list+11, n); - swaps(list+12, n); - swaps(list+13, n); - swaps(list+14, n); - swaps(list+15, n); - list += 16; - count -= 16; - } - if (count != 0) { - do { - swaps(list, n); - list++; - } while (--count != 0); - } -} - -SwapColorItem(xColorItem *pItem) -{ - register char n; - swapl(&pItem->pixel, n); - swaps(&pItem->red, n); - swaps(&pItem->green, n); - swaps(&pItem->blue, n); -} -#endif /* LINKED_IN */ -#endif /* vms */ |