summaryrefslogtreecommitdiff
path: root/src/GrayPixmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/GrayPixmap.c')
-rw-r--r--src/GrayPixmap.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/GrayPixmap.c b/src/GrayPixmap.c
index 22c0c44..4d8a51d 100644
--- a/src/GrayPixmap.c
+++ b/src/GrayPixmap.c
@@ -49,6 +49,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
******************************************************************/
+/* $XFree86: xc/lib/Xmu/GrayPixmap.c,v 1.6 2001/12/14 19:55:46 dawes Exp $ */
#include <stdio.h>
#include <X11/Intrinsic.h>
@@ -67,10 +68,9 @@ static CacheEntry *pixmapCache = NULL;
-Pixmap XmuCreateStippledPixmap(screen, fore, back, depth)
- Screen *screen;
- Pixel fore, back;
- unsigned int depth;
+Pixmap
+XmuCreateStippledPixmap(Screen *screen, Pixel fore, Pixel back,
+ unsigned int depth)
/*
* Creates a stippled pixmap of specified depth
* caches these so that multiple requests share the pixmap
@@ -116,9 +116,8 @@ Pixmap XmuCreateStippledPixmap(screen, fore, back, depth)
return( stippled_pixmap );
}
-void XmuReleaseStippledPixmap(screen, pixmap)
- Screen *screen;
- Pixmap pixmap;
+void
+XmuReleaseStippledPixmap(Screen *screen, Pixmap pixmap)
{
register Display *display = DisplayOfScreen(screen);
CacheEntry *cachePtr, **prevP;