From: cristy Date: Sun, 12 May 2013 18:29:53 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~3682 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4189984c711febcbd1a99f01663b62cadee43a5a;p=imagemagick --- diff --git a/coders/ipl.c b/coders/ipl.c index 245229551..a0789fe06 100644 --- a/coders/ipl.c +++ b/coders/ipl.c @@ -84,7 +84,7 @@ typedef struct _IPLInfo static MagickBooleanType WriteIPLImage(const ImageInfo *,Image *,ExceptionInfo *); -void increase (void *pixel, int byteType){ +static void increase (void *pixel, int byteType){ switch(byteType){ case 0:(*((unsigned char *) pixel))++; break; case 1:(*((signed int *) pixel))++; break; @@ -161,7 +161,7 @@ static MagickBooleanType IsIPL(const unsigned char *magick,const size_t length) % */ -void SetHeaderFromIPL(Image *image, IPLInfo *ipl){ +static void SetHeaderFromIPL(Image *image, IPLInfo *ipl){ image->columns = ipl->width; image->rows = ipl->height; image->depth = ipl->depth; diff --git a/coders/wpg.c b/coders/wpg.c index 31c08de50..bacb37992 100644 --- a/coders/wpg.c +++ b/coders/wpg.c @@ -73,7 +73,7 @@ typedef struct } RGB_Record; /* Default palette for WPG level 1 */ -const RGB_Record WPG1_Palette[256]={ +static const RGB_Record WPG1_Palette[256]={ { 0, 0, 0}, { 0, 0,168}, { 0,168, 0}, { 0,168,168}, {168, 0, 0}, {168, 0,168},