summaryrefslogtreecommitdiff
path: root/src/xcms/UNDEFINED.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:26:57 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:26:57 +0000
commitac8f15d8622a23dd57928f1c40da5ecafbb31492 (patch)
treeb465a0b386ce699c33c736b3a341a183901f7f17 /src/xcms/UNDEFINED.c
parent917de4a98eeb9a7eafeab7ddd8e1b1ae6aae6514 (diff)
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_16
Diffstat (limited to 'src/xcms/UNDEFINED.c')
-rw-r--r--src/xcms/UNDEFINED.c42
1 files changed, 35 insertions, 7 deletions
diff --git a/src/xcms/UNDEFINED.c b/src/xcms/UNDEFINED.c
index a4e0555..6c0656a 100644
--- a/src/xcms/UNDEFINED.c
+++ b/src/xcms/UNDEFINED.c
@@ -33,6 +33,7 @@
*
*
*/
+/* $XFree86: xc/lib/X11/UNDEFINED.c,v 1.2 2003/04/13 19:22:18 dawes Exp $ */
#include "Xlibint.h"
#include "Xcmsint.h"
@@ -40,21 +41,33 @@
/*
* FORWARD DECLARATIONS
*/
-static int ReturnZero();
+static int DummyParseStringProc(
+ char* /* color_string */,
+ XcmsColor* /* color_return */
+ );
+static Status ReturnZero(
+ XcmsCCC /* ccc */,
+ XcmsColor* /* white_point */,
+ XcmsColor* /* colors */,
+ unsigned int /* ncolors */
+ );
/*
* LOCALS VARIABLES
*/
-static Status (*(Fl_ReturnZero[]))() = {
+static Status (*(Fl_ReturnZero[]))(
+ XcmsCCC /* ccc */,
+ XcmsColor* /* white_point */,
+ XcmsColor* /* colors */,
+ unsigned int /* ncolors */
+ ) = {
ReturnZero,
NULL
};
-
-
/*
* GLOBALS
* Variables declared in this package that are allowed
@@ -67,7 +80,7 @@ XcmsColorSpace XcmsUNDEFINEDColorSpace =
{
"undefined", /* prefix */
XcmsUndefinedFormat, /* id */
- ReturnZero, /* parseString */
+ &DummyParseStringProc, /* parseString */
Fl_ReturnZero, /* to_CIEXYZ */
Fl_ReturnZero /* from_CIEXYZ */
};
@@ -87,8 +100,13 @@ XcmsColorSpace XcmsUNDEFINEDColorSpace =
* SYNOPSIS
*/
/* ARGSUSED */
-static int
-ReturnZero()
+static Status
+ReturnZero(
+ XcmsCCC ccc /* ccc */,
+ XcmsColor* white /* white_point */,
+ XcmsColor* colors /* colors */,
+ unsigned int ncolors /* ncolors */
+ )
/*
* DESCRIPTION
* Does nothing.
@@ -100,3 +118,13 @@ ReturnZero()
{
return(0);
}
+
+static int DummyParseStringProc(
+ char* color_string /* color_string */,
+ XcmsColor* color_return /* color_return */
+ )
+{
+ return(0);
+}
+
+/* ### EOF ### */