diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2018-02-26 06:11:56 +0100 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2018-02-26 06:11:56 +0100 |
commit | 4c5e9a295230362ef072132cdc0f5b92150fc2b9 (patch) | |
tree | 84e5900eeed3a831cae6e8029552a6d1d253c7b1 /nx-X11/programs/Xserver/dbe/dbe.c | |
parent | c529873d9e7265634fd5223e727f58eb2d0c1a27 (diff) | |
download | nx-libs-4c5e9a295230362ef072132cdc0f5b92150fc2b9.tar.gz nx-libs-4c5e9a295230362ef072132cdc0f5b92150fc2b9.tar.bz2 nx-libs-4c5e9a295230362ef072132cdc0f5b92150fc2b9.zip |
Lift dbe to xorg-xserver-7.1/1.1.0 state - non-functional changes only
Diffstat (limited to 'nx-X11/programs/Xserver/dbe/dbe.c')
-rw-r--r-- | nx-X11/programs/Xserver/dbe/dbe.c | 87 |
1 files changed, 26 insertions, 61 deletions
diff --git a/nx-X11/programs/Xserver/dbe/dbe.c b/nx-X11/programs/Xserver/dbe/dbe.c index 0860801dd..89df0889e 100644 --- a/nx-X11/programs/Xserver/dbe/dbe.c +++ b/nx-X11/programs/Xserver/dbe/dbe.c @@ -100,10 +100,7 @@ static Bool firstRegistrationPass = TRUE; *****************************************************************************/ void -DbeValidateBuffer(pWin, drawID, dstbuf) - WindowPtr pWin; - XID drawID; - Bool dstbuf; +DbeValidateBuffer(WindowPtr pWin, XID drawID, Bool dstbuf) { DbeScreenPrivPtr pDbeScreenPriv = DBE_SCREEN_PRIV_FROM_WINDOW(pWin); if (pDbeScreenPriv->ValidateBuffer) @@ -122,9 +119,7 @@ DbeValidateBuffer(pWin, drawID, dstbuf) *****************************************************************************/ void -DbeRegisterFunction(pScreen, funct) - ScreenPtr pScreen; - Bool (*funct)(); +DbeRegisterFunction(ScreenPtr pScreen, Bool (*funct) (/* ??? */)) { int i; @@ -158,8 +153,7 @@ DbeRegisterFunction(pScreen, funct) * *****************************************************************************/ static DbeWindowPrivPtr -DbeAllocWinPriv(pScreen) - ScreenPtr pScreen; +DbeAllocWinPriv(ScreenPtr pScreen) { DbeWindowPrivPtr pDbeWindowPriv; DbeScreenPrivPtr pDbeScreenPriv; @@ -248,10 +242,7 @@ DbeAllocWinPrivPrivIndex(void) *****************************************************************************/ static Bool -DbeAllocWinPrivPriv(pScreen, index, amount) - register ScreenPtr pScreen; - int index; - unsigned int amount; +DbeAllocWinPrivPriv(register ScreenPtr pScreen, int index, unsigned int amount) { DbeScreenPrivPtr pDbeScreenPriv; unsigned int oldamount; @@ -302,9 +293,7 @@ DbeAllocWinPrivPriv(pScreen, index, amount) *****************************************************************************/ static void -DbeStubScreen(pDbeScreenPriv, nStubbedScreens) - DbeScreenPrivPtr pDbeScreenPriv; - int *nStubbedScreens; +DbeStubScreen(DbeScreenPrivPtr pDbeScreenPriv, int *nStubbedScreens) { /* Stub DIX. */ pDbeScreenPriv->SetupBackgroundPainter = NULL; @@ -351,8 +340,7 @@ DbeStubScreen(pDbeScreenPriv, nStubbedScreens) *****************************************************************************/ static int -ProcDbeGetVersion(client) - ClientPtr client; +ProcDbeGetVersion(ClientPtr client) { /* REQUEST(xDbeGetVersionReq); */ xDbeGetVersionReply rep; @@ -401,8 +389,7 @@ ProcDbeGetVersion(client) *****************************************************************************/ static int -ProcDbeAllocateBackBufferName(client) - ClientPtr client; +ProcDbeAllocateBackBufferName(ClientPtr client) { REQUEST(xDbeAllocateBackBufferNameReq); WindowPtr pWin; @@ -636,8 +623,7 @@ ProcDbeAllocateBackBufferName(client) *****************************************************************************/ static int -ProcDbeDeallocateBackBufferName(client) - ClientPtr client; +ProcDbeDeallocateBackBufferName(ClientPtr client) { REQUEST(xDbeDeallocateBackBufferNameReq); DbeWindowPrivPtr pDbeWindowPriv; @@ -708,8 +694,7 @@ ProcDbeDeallocateBackBufferName(client) *****************************************************************************/ static int -ProcDbeSwapBuffers(client) - ClientPtr client; +ProcDbeSwapBuffers(ClientPtr client) { REQUEST(xDbeSwapBuffersReq); WindowPtr pWin; @@ -839,8 +824,7 @@ ProcDbeSwapBuffers(client) *****************************************************************************/ static int -ProcDbeBeginIdiom(client) - ClientPtr client; +ProcDbeBeginIdiom(ClientPtr client) { /* REQUEST(xDbeBeginIdiomReq); */ DbeScreenPrivPtr pDbeScreenPriv; @@ -883,8 +867,7 @@ ProcDbeBeginIdiom(client) *****************************************************************************/ static int -ProcDbeGetVisualInfo(client) - ClientPtr client; +ProcDbeGetVisualInfo(ClientPtr client) { REQUEST(xDbeGetVisualInfoReq); DbeScreenPrivPtr pDbeScreenPriv; @@ -1062,8 +1045,7 @@ ProcDbeGetVisualInfo(client) *****************************************************************************/ static int -ProcDbeGetBackBufferAttributes(client) - ClientPtr client; +ProcDbeGetBackBufferAttributes(ClientPtr client) { REQUEST(xDbeGetBackBufferAttributesReq); xDbeGetBackBufferAttributesReply rep; @@ -1110,8 +1092,7 @@ ProcDbeGetBackBufferAttributes(client) *****************************************************************************/ static int -ProcDbeDispatch(client) - ClientPtr client; +ProcDbeDispatch(ClientPtr client) { REQUEST(xReq); @@ -1166,8 +1147,7 @@ ProcDbeDispatch(client) *****************************************************************************/ static int -SProcDbeGetVersion(client) - ClientPtr client; +SProcDbeGetVersion(ClientPtr client) { REQUEST(xDbeGetVersionReq); @@ -1201,8 +1181,7 @@ SProcDbeGetVersion(client) *****************************************************************************/ static int -SProcDbeAllocateBackBufferName(client) - ClientPtr client; +SProcDbeAllocateBackBufferName(ClientPtr client) { REQUEST(xDbeAllocateBackBufferNameReq); @@ -1236,8 +1215,7 @@ SProcDbeAllocateBackBufferName(client) *****************************************************************************/ static int -SProcDbeDeallocateBackBufferName(client) - ClientPtr client; +SProcDbeDeallocateBackBufferName(ClientPtr client) { REQUEST (xDbeDeallocateBackBufferNameReq); @@ -1273,8 +1251,7 @@ SProcDbeDeallocateBackBufferName(client) *****************************************************************************/ static int -SProcDbeSwapBuffers(client) - ClientPtr client; +SProcDbeSwapBuffers(ClientPtr client) { REQUEST(xDbeSwapBuffersReq); unsigned int i; @@ -1325,8 +1302,7 @@ SProcDbeSwapBuffers(client) *****************************************************************************/ static int -SProcDbeBeginIdiom(client) - ClientPtr client; +SProcDbeBeginIdiom(ClientPtr client) { REQUEST(xDbeBeginIdiomReq); @@ -1354,8 +1330,7 @@ SProcDbeBeginIdiom(client) *****************************************************************************/ static int -SProcDbeGetVisualInfo(client) - ClientPtr client; +SProcDbeGetVisualInfo(ClientPtr client) { REQUEST(xDbeGetVisualInfoReq); @@ -1387,8 +1362,7 @@ SProcDbeGetVisualInfo(client) *****************************************************************************/ static int -SProcDbeGetBackBufferAttributes(client) - ClientPtr client; +SProcDbeGetBackBufferAttributes(ClientPtr client) { REQUEST (xDbeGetBackBufferAttributesReq); @@ -1413,8 +1387,7 @@ SProcDbeGetBackBufferAttributes(client) *****************************************************************************/ static int -SProcDbeDispatch(client) - ClientPtr client; +SProcDbeDispatch(ClientPtr client) { REQUEST(xReq); @@ -1468,9 +1441,7 @@ SProcDbeDispatch(client) *****************************************************************************/ static Bool -DbeSetupBackgroundPainter(pWin, pGC) - WindowPtr pWin; - GCPtr pGC; +DbeSetupBackgroundPainter(WindowPtr pWin, GCPtr pGC) { void *gcvalues[4]; int ts_x_origin, ts_y_origin; @@ -1543,9 +1514,7 @@ DbeSetupBackgroundPainter(pWin, pGC) * *****************************************************************************/ static int -DbeDrawableDelete(pDrawable, id) - void *pDrawable; - XID id; +DbeDrawableDelete(void * pDrawable, XID id) { return(Success); @@ -1564,9 +1533,7 @@ DbeDrawableDelete(pDrawable, id) * *****************************************************************************/ static int -DbeWindowPrivDelete(pDbeWinPriv, id) - void *pDbeWinPriv; - XID id; +DbeWindowPrivDelete(void * pDbeWinPriv, XID id) { DbeScreenPrivPtr pDbeScreenPriv; DbeWindowPrivPtr pDbeWindowPriv = (DbeWindowPrivPtr)pDbeWinPriv; @@ -1673,8 +1640,7 @@ DbeWindowPrivDelete(pDbeWinPriv, id) * *****************************************************************************/ static void -DbeResetProc(extEntry) - ExtensionEntry *extEntry; +DbeResetProc(ExtensionEntry *extEntry) { int i; ScreenPtr pScreen; @@ -1729,8 +1695,7 @@ DbeResetProc(extEntry) *****************************************************************************/ static Bool -DbeDestroyWindow(pWin) - WindowPtr pWin; +DbeDestroyWindow(WindowPtr pWin) { DbeScreenPrivPtr pDbeScreenPriv; DbeWindowPrivPtr pDbeWindowPriv; |