diff options
Diffstat (limited to 'dix/pixmap.c')
-rw-r--r-- | dix/pixmap.c | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/dix/pixmap.c b/dix/pixmap.c index 2df5d7374..bccc6b5cd 100644 --- a/dix/pixmap.c +++ b/dix/pixmap.c @@ -48,15 +48,8 @@ from The Open Group. /* callable by ddx */ PixmapPtr -GetScratchPixmapHeader(pScreen, width, height, depth, bitsPerPixel, devKind, - pPixData) - ScreenPtr pScreen; - int width; - int height; - int depth; - int bitsPerPixel; - int devKind; - pointer pPixData; +GetScratchPixmapHeader(ScreenPtr pScreen, int width, int height, int depth, + int bitsPerPixel, int devKind, pointer pPixData) { PixmapPtr pPixmap = pScreen->pScratchPixmap; @@ -78,8 +71,7 @@ GetScratchPixmapHeader(pScreen, width, height, depth, bitsPerPixel, devKind, /* callable by ddx */ void -FreeScratchPixmapHeader(pPixmap) - PixmapPtr pPixmap; +FreeScratchPixmapHeader(PixmapPtr pPixmap) { if (pPixmap) { @@ -95,8 +87,7 @@ FreeScratchPixmapHeader(pPixmap) Bool -CreateScratchPixmapsForScreen(scrnum) - int scrnum; +CreateScratchPixmapsForScreen(int scrnum) { /* let it be created on first use */ screenInfo.screens[scrnum]->pScratchPixmap = NULL; @@ -105,8 +96,7 @@ CreateScratchPixmapsForScreen(scrnum) void -FreeScratchPixmapsForScreen(scrnum) - int scrnum; +FreeScratchPixmapsForScreen(int scrnum) { FreeScratchPixmapHeader(screenInfo.screens[scrnum]->pScratchPixmap); } @@ -114,9 +104,7 @@ FreeScratchPixmapsForScreen(scrnum) /* callable by ddx */ PixmapPtr -AllocatePixmap(pScreen, pixDataSize) - ScreenPtr pScreen; - int pixDataSize; +AllocatePixmap(ScreenPtr pScreen, int pixDataSize) { PixmapPtr pPixmap; #ifdef PIXPRIV |