]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 12 May 2013 18:29:53 +0000 (18:29 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 12 May 2013 18:29:53 +0000 (18:29 +0000)
coders/ipl.c
coders/wpg.c

index 24522955175f106c336c0f624065df730a639885..a0789fe0614303d19978087082ef1d643dd150b0 100644 (file)
@@ -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;
index 31c08de5017469f50feacb8d3fe31ce4814ff2d9..bacb37992cc87200b0e81d2bcfa188da60c73d7c 100644 (file)
@@ -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},