[PATCH 2/4] xcms: hide a number of private symbols

Julien Cristau jcristau at debian.org
Fri Jul 31 04:49:40 PDT 2009


---
 src/xcms/HVC.c       |    1 +
 src/xcms/LRGB.c      |    3 +++
 src/xcms/Lab.c       |    1 +
 src/xcms/Luv.c       |    1 +
 src/xcms/UNDEFINED.c |    1 +
 src/xcms/XRGB.c      |    4 ++--
 src/xcms/XYZ.c       |    1 +
 src/xcms/uvY.c       |    1 +
 src/xcms/xyY.c       |    1 +
 9 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/src/xcms/HVC.c b/src/xcms/HVC.c
index 60e5eb8..04519a6 100644
--- a/src/xcms/HVC.c
+++ b/src/xcms/HVC.c
@@ -132,6 +132,7 @@ static XcmsConversionProc Fl_CIEXYZ_to_TekHVC[] = {
     /*
      * TekHVC Color Space
      */
+_X_HIDDEN
 XcmsColorSpace	XcmsTekHVCColorSpace =
     {
 	_XcmsTekHVC_prefix,	/* prefix */
diff --git a/src/xcms/LRGB.c b/src/xcms/LRGB.c
index 6ec2a18..40b830e 100644
--- a/src/xcms/LRGB.c
+++ b/src/xcms/LRGB.c
@@ -165,6 +165,7 @@ static XcmsConversionProc Fl_CIEXYZ_to_RGBi[] = {
     /*
      * RGBi Color Spaces
      */
+_X_HIDDEN
 XcmsColorSpace	XcmsRGBiColorSpace =
     {
 	_XcmsRGBi_prefix,	/* prefix */
@@ -178,6 +179,7 @@ XcmsColorSpace	XcmsRGBiColorSpace =
     /*
      * RGB Color Spaces
      */
+_X_HIDDEN
 XcmsColorSpace	XcmsRGBColorSpace =
     {
 	_XcmsRGB_prefix,		/* prefix */
@@ -208,6 +210,7 @@ static XcmsColorSpace	*DDColorSpaces[] = {
     /*
      * LINEAR_RGB Screen Color Characteristics Function Set.
      */
+_X_HIDDEN
 XcmsFunctionSet	XcmsLinearRGBFunctionSet =
     {
 	&DDColorSpaces[0],	/* pDDColorSpaces */
diff --git a/src/xcms/Lab.c b/src/xcms/Lab.c
index df19964..34f3d10 100644
--- a/src/xcms/Lab.c
+++ b/src/xcms/Lab.c
@@ -96,6 +96,7 @@ static XcmsConversionProc Fl_CIEXYZ_to_CIELab[] = {
     /*
      * CIE Lab Color Space
      */
+_X_HIDDEN
 XcmsColorSpace	XcmsCIELabColorSpace =
     {
 	_XcmsCIELab_prefix,	/* prefix */
diff --git a/src/xcms/Luv.c b/src/xcms/Luv.c
index 8dae87f..6b3fc10 100644
--- a/src/xcms/Luv.c
+++ b/src/xcms/Luv.c
@@ -99,6 +99,7 @@ static XcmsConversionProc Fl_CIEXYZ_to_CIELuv[] = {
     /*
      * CIE Luv Color Space
      */
+_X_HIDDEN
 XcmsColorSpace	XcmsCIELuvColorSpace =
     {
 	_XcmsCIELuv_prefix,	/* prefix */
diff --git a/src/xcms/UNDEFINED.c b/src/xcms/UNDEFINED.c
index 9c9094e..31d9629 100644
--- a/src/xcms/UNDEFINED.c
+++ b/src/xcms/UNDEFINED.c
@@ -79,6 +79,7 @@ static Status (*(Fl_ReturnZero[]))(
     /*
      * UNDEFINED Color Space
      */
+_X_HIDDEN
 XcmsColorSpace	XcmsUNDEFINEDColorSpace =
     {
 	"undefined",		/* prefix */
diff --git a/src/xcms/XRGB.c b/src/xcms/XRGB.c
index e2697d2..121fa63 100644
--- a/src/xcms/XRGB.c
+++ b/src/xcms/XRGB.c
@@ -110,7 +110,7 @@ _XcmsRGB_to_XColor(
  *
  *	SYNOPSIS
  */
-void
+_X_HIDDEN void
 _XColor_to_XcmsRGB(
     XcmsCCC ccc,
     XColor *pXColors,
@@ -223,7 +223,7 @@ _XcmsUnresolveColor(
  *
  *	SYNOPSIS
  */
-void
+_X_HIDDEN void
 _XUnresolveColor(
     XcmsCCC ccc,
     XColor *pXColor)
diff --git a/src/xcms/XYZ.c b/src/xcms/XYZ.c
index 2868c92..056cf38 100644
--- a/src/xcms/XYZ.c
+++ b/src/xcms/XYZ.c
@@ -79,6 +79,7 @@ static XcmsConversionProc Fl_CIEXYZ_to_CIEXYZ[] = {
     /*
      * CIE XYZ Color Space
      */
+_X_HIDDEN
 XcmsColorSpace	XcmsCIEXYZColorSpace =
     {
 	_XcmsCIEXYZ_prefix,		/* prefix */
diff --git a/src/xcms/uvY.c b/src/xcms/uvY.c
index 0567b20..77b3072 100644
--- a/src/xcms/uvY.c
+++ b/src/xcms/uvY.c
@@ -92,6 +92,7 @@ static XcmsConversionProc Fl_CIEXYZ_to_CIEuvY[] = {
     /*
      * CIE uvY Color Space
      */
+_X_HIDDEN
 XcmsColorSpace	XcmsCIEuvYColorSpace =
     {
 	_XcmsCIEuvY_prefix,		/* prefix */
diff --git a/src/xcms/xyY.c b/src/xcms/xyY.c
index 555afe4..288474d 100644
--- a/src/xcms/xyY.c
+++ b/src/xcms/xyY.c
@@ -91,6 +91,7 @@ static XcmsConversionProc Fl_CIEXYZ_to_CIExyY[] = {
     /*
      * CIE xyY Color Space
      */
+_X_HIDDEN
 XcmsColorSpace	XcmsCIExyYColorSpace =
     {
 	_XcmsCIExyY_prefix,	/* prefix */
-- 
1.6.3.3



More information about the xorg-devel mailing list