From bd0ebf0ff5e7aff7c8643ec3171a0782aa208d86 Mon Sep 17 00:00:00 2001 From: cristy Date: Thu, 29 Sep 2011 01:19:42 +0000 Subject: [PATCH] --- MagickCore/threshold.c | 8 +++++++- MagickCore/threshold.h | 3 +-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/MagickCore/threshold.c b/MagickCore/threshold.c index 4d4b2be4e..36b147f1d 100644 --- a/MagickCore/threshold.c +++ b/MagickCore/threshold.c @@ -108,6 +108,12 @@ struct _ThresholdMap *levels; }; +/* + Forward declarations. +*/ +static ThresholdMap + *GetThresholdMapFile(const char *,const char *,const char *,ExceptionInfo *); + /* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % @@ -833,7 +839,7 @@ MagickExport ThresholdMap *GetThresholdMap(const char *map_id, % o exception: return any errors or warnings in this structure. % */ -MagickExport ThresholdMap *GetThresholdMapFile(const char *xml, +static ThresholdMap *GetThresholdMapFile(const char *xml, const char *filename,const char *map_id,ExceptionInfo *exception) { char diff --git a/MagickCore/threshold.h b/MagickCore/threshold.h index 3794ccf6e..0fe13c36f 100644 --- a/MagickCore/threshold.h +++ b/MagickCore/threshold.h @@ -31,8 +31,7 @@ extern MagickExport Image extern MagickExport ThresholdMap *DestroyThresholdMap(ThresholdMap *), - *GetThresholdMap(const char *,ExceptionInfo *), - *GetThresholdMapFile(const char *,const char *,const char *,ExceptionInfo *); + *GetThresholdMap(const char *,ExceptionInfo *); extern MagickExport MagickBooleanType BilevelImage(Image *,const double), -- 2.40.0