summaryrefslogtreecommitdiff
path: root/src/DelCmap.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:49 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:49 +0000
commit865329b4e079334b4cb846347ab9a572ac946228 (patch)
treecb45f3ee9fb029bd1a25da1b605491bcfd1a6d3f /src/DelCmap.c
parent709dda59a506e0c4ad17b085aa381f35cd86176f (diff)
downloadxorg-lib-libXmu-865329b4e079334b4cb846347ab9a572ac946228.tar.gz
Diffstat (limited to 'src/DelCmap.c')
-rw-r--r--src/DelCmap.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/DelCmap.c b/src/DelCmap.c
index 9ab7717..02c73e6 100644
--- a/src/DelCmap.c
+++ b/src/DelCmap.c
@@ -25,6 +25,7 @@ used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
*/
+/* $XFree86: xc/lib/Xmu/DelCmap.c,v 1.7 2001/12/14 19:55:40 dawes Exp $ */
/*
* Author: Donna Converse, MIT X Consortium
@@ -32,6 +33,7 @@ in this Software without prior written authorization from The Open Group.
#include <X11/Xlib.h>
#include <X11/Xutil.h>
+#include <X11/Xmu/StdCmap.h>
/* To remove any standard colormap property, use XmuDeleteStandardColormap().
* XmuDeleteStandardColormap() will remove the specified property from the
@@ -39,10 +41,12 @@ in this Software without prior written authorization from The Open Group.
* property if possible.
*/
-void XmuDeleteStandardColormap(dpy, screen, property)
- Display *dpy; /* specifies the X server to connect to */
- int screen; /* specifies the screen of the display */
- Atom property; /* specifies the standard colormap property */
+void
+XmuDeleteStandardColormap(Display *dpy, int screen, Atom property)
+ /* dpy; - specifies the X server to connect to
+ * screen - specifies the screen of the display
+ * property - specifies the standard colormap property
+ */
{
XStandardColormap *stdcmaps, *s;
int count = 0;