summaryrefslogtreecommitdiff
path: root/src/ParseCol.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ParseCol.c')
-rw-r--r--src/ParseCol.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/ParseCol.c b/src/ParseCol.c
index f66ebb8..af699ec 100644
--- a/src/ParseCol.c
+++ b/src/ParseCol.c
@@ -24,29 +24,20 @@ 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/X11/ParseCol.c,v 1.5 2002/12/04 23:18:32 paulo Exp $ */
+/* $XFree86: xc/lib/X11/ParseCol.c,v 1.7 2003/11/17 22:20:08 dawes Exp $ */
#define NEED_REPLIES
#include <stdio.h>
#include "Xlibint.h"
#include "Xcmsint.h"
-extern void _XcmsRGB_to_XColor();
-extern Status _XcmsResolveColorString();
-#if NeedFunctionPrototypes
-Status XParseColor (
+Status
+XParseColor (
register Display *dpy,
Colormap cmap,
_Xconst char *spec,
XColor *def)
-#else
-Status XParseColor (dpy, cmap, spec, def)
- register Display *dpy;
- Colormap cmap;
- char *spec;
- XColor *def;
-#endif
{
register int n, i;
int r, g, b;