summaryrefslogtreecommitdiff
path: root/coders/xpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'coders/xpm.c')
-rw-r--r--coders/xpm.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/coders/xpm.c b/coders/xpm.c
index 9aaa0dd90..454d6aa10 100644
--- a/coders/xpm.c
+++ b/coders/xpm.c
@@ -17,7 +17,7 @@
% July 1992 %
% %
% %
-% Copyright 1999-2020 ImageMagick Studio LLC, a non-profit organization %
+% Copyright 1999-2021 ImageMagick Studio LLC, a non-profit organization %
% dedicated to making software imaging solutions freely available. %
% %
% You may not use this file except in compliance with the License. You may %
@@ -159,7 +159,7 @@ static int CompareXPMColor(const void *target,const void *source)
static ssize_t CopyXPMColor(char *destination,const char *source,size_t length)
{
- register const char
+ const char
*p;
p=source;
@@ -190,14 +190,14 @@ static char *ParseXPMColor(char *color,MagickBooleanType search_start)
{
#define NumberTargets 6
- register char
+ char
*p,
*r;
- register const char
+ const char
*q;
- register ssize_t
+ ssize_t
i;
static const char
@@ -263,15 +263,15 @@ static Image *ReadXPMImage(const ImageInfo *image_info,ExceptionInfo *exception)
active,
status;
- register char
+ char
*next,
*p,
*q;
- register Quantum
+ Quantum
*r;
- register ssize_t
+ ssize_t
x;
size_t
@@ -685,14 +685,14 @@ static MagickBooleanType WritePICONImage(const ImageInfo *image_info,
RectangleInfo
geometry;
- register const Quantum
+ const Quantum
*p;
- register ssize_t
+ ssize_t
i,
x;
- register Quantum
+ Quantum
*q;
size_t
@@ -944,10 +944,10 @@ static MagickBooleanType WriteXPMImage(const ImageInfo *image_info,Image *image,
PixelInfo
pixel;
- register const Quantum
+ const Quantum
*p;
- register ssize_t
+ ssize_t
i,
x;