diff --git a/MagickCore/pixel-accessor.h b/MagickCore/pixel-accessor.h
index 7066bba..d1dd490 100644
--- a/MagickCore/pixel-accessor.h
+++ b/MagickCore/pixel-accessor.h
@@ -574,14 +574,7 @@
pixel[image->channel_map[channel].offset]=quantum;
}
-static inline void SetPixelChannelChannel(const Image *restrict image,
- const PixelChannel channel,const ssize_t offset)
-{
- image->channel_map[offset].channel=channel;
- image->channel_map[channel].offset=offset;
-}
-
-static inline void SetPixelChannel(const Image *restrict image,
+static inline void SetPixelChannelAttributes(const Image *restrict image,
const PixelChannel channel,const PixelTrait traits,const ssize_t offset)
{
image->channel_map[offset].channel=channel;
@@ -589,6 +582,13 @@
image->channel_map[channel].traits=traits;
}
+static inline void SetPixelChannelChannel(const Image *restrict image,
+ const PixelChannel channel,const ssize_t offset)
+{
+ image->channel_map[offset].channel=channel;
+ image->channel_map[channel].offset=offset;
+}
+
static inline void SetPixelChannels(Image *image,const size_t number_channels)
{
image->number_channels=number_channels;