diff options
Diffstat (limited to 'Xext/shm.c')
-rw-r--r-- | Xext/shm.c | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/Xext/shm.c b/Xext/shm.c index b2973bff6..80780bbbc 100644 --- a/Xext/shm.c +++ b/Xext/shm.c @@ -336,10 +336,10 @@ ShmRegisterFbFuncs(pScreen) static int ProcShmQueryVersion(client) - register ClientPtr client; + ClientPtr client; { xShmQueryVersionReply rep; - register int n; + int n; REQUEST_SIZE_MATCH(xShmQueryVersionReq); rep.type = X_Reply; @@ -431,7 +431,7 @@ shm_access(ClientPtr client, SHMPERM_TYPE *perm, int readonly) static int ProcShmAttach(client) - register ClientPtr client; + ClientPtr client; { SHMSTAT_TYPE buf; ShmDescPtr shmdesc; @@ -511,7 +511,7 @@ ShmDetachSegment(value, shmseg) static int ProcShmDetach(client) - register ClientPtr client; + ClientPtr client; { ShmDescPtr shmdesc; REQUEST(xShmDetachReq); @@ -588,7 +588,7 @@ fbShmPutImage(dst, pGC, depth, format, w, h, sx, sy, sw, sh, dx, dy, data) #ifdef PANORAMIX static int -ProcPanoramiXShmPutImage(register ClientPtr client) +ProcPanoramiXShmPutImage(ClientPtr client) { int j, result = 0, orig_x, orig_y; PanoramiXRes *draw, *gc; @@ -735,7 +735,7 @@ ProcPanoramiXShmGetImage(ClientPtr client) } if (client->swapped) { - register int n; + int n; swaps(&xgi.sequenceNumber, n); swapl(&xgi.length, n); swapl(&xgi.visual, n); @@ -748,7 +748,7 @@ ProcPanoramiXShmGetImage(ClientPtr client) static int ProcPanoramiXShmCreatePixmap( - register ClientPtr client) + ClientPtr client) { ScreenPtr pScreen = NULL; PixmapPtr pMap = NULL; @@ -856,7 +856,7 @@ CreatePmap: static int ProcShmPutImage(client) - register ClientPtr client; + ClientPtr client; { GCPtr pGC; DrawablePtr pDraw; @@ -960,7 +960,7 @@ ProcShmPutImage(client) static int ProcShmGetImage(client) - register ClientPtr client; + ClientPtr client; { DrawablePtr pDraw; long lenPer = 0, length; @@ -1079,7 +1079,7 @@ fbShmCreatePixmap (pScreen, width, height, depth, addr) int depth; char *addr; { - register PixmapPtr pPixmap; + PixmapPtr pPixmap; pPixmap = (*pScreen->CreatePixmap)(pScreen, 0, 0, pScreen->rootDepth, 0); if (!pPixmap) @@ -1095,12 +1095,12 @@ fbShmCreatePixmap (pScreen, width, height, depth, addr) static int ProcShmCreatePixmap(client) - register ClientPtr client; + ClientPtr client; { PixmapPtr pMap; DrawablePtr pDraw; DepthPtr pDepth; - register int i, rc; + int i, rc; ShmDescPtr shmdesc; REQUEST(xShmCreatePixmapReq); unsigned int width, height, depth; @@ -1177,7 +1177,7 @@ CreatePmap: static int ProcShmDispatch (client) - register ClientPtr client; + ClientPtr client; { REQUEST(xReq); switch (stuff->data) @@ -1226,9 +1226,9 @@ SShmCompletionEvent(from, to) static int SProcShmQueryVersion(client) - register ClientPtr client; + ClientPtr client; { - register int n; + int n; REQUEST(xShmQueryVersionReq); swaps(&stuff->length, n); @@ -1239,7 +1239,7 @@ static int SProcShmAttach(client) ClientPtr client; { - register int n; + int n; REQUEST(xShmAttachReq); swaps(&stuff->length, n); REQUEST_SIZE_MATCH(xShmAttachReq); @@ -1252,7 +1252,7 @@ static int SProcShmDetach(client) ClientPtr client; { - register int n; + int n; REQUEST(xShmDetachReq); swaps(&stuff->length, n); REQUEST_SIZE_MATCH(xShmDetachReq); @@ -1264,7 +1264,7 @@ static int SProcShmPutImage(client) ClientPtr client; { - register int n; + int n; REQUEST(xShmPutImageReq); swaps(&stuff->length, n); REQUEST_SIZE_MATCH(xShmPutImageReq); @@ -1287,7 +1287,7 @@ static int SProcShmGetImage(client) ClientPtr client; { - register int n; + int n; REQUEST(xShmGetImageReq); swaps(&stuff->length, n); REQUEST_SIZE_MATCH(xShmGetImageReq); @@ -1306,7 +1306,7 @@ static int SProcShmCreatePixmap(client) ClientPtr client; { - register int n; + int n; REQUEST(xShmCreatePixmapReq); swaps(&stuff->length, n); REQUEST_SIZE_MATCH(xShmCreatePixmapReq); @@ -1321,7 +1321,7 @@ SProcShmCreatePixmap(client) static int SProcShmDispatch (client) - register ClientPtr client; + ClientPtr client; { REQUEST(xReq); switch (stuff->data) |