diff --git a/magick/cache-view.h b/magick/cache-view.h
index aa74366..c720cd7 100644
--- a/magick/cache-view.h
+++ b/magick/cache-view.h
@@ -49,6 +49,11 @@
 typedef struct _CacheView
   CacheView;
 
+extern MagickExport CacheView
+  *AcquireCacheView(const Image *),
+  *CloneCacheView(const CacheView *),
+  *DestroyCacheView(CacheView *);
+
 extern MagickExport ClassType
   GetCacheViewStorageClass(const CacheView *);
 
@@ -84,6 +89,9 @@
 extern MagickExport MagickSizeType
   GetCacheViewExtent(const CacheView *);
 
+extern MagickExport size_t
+  GetCacheViewChannels(const CacheView *);
+
 extern MagickExport PixelPacket
   *GetCacheViewAuthenticPixelQueue(CacheView *),
   *GetCacheViewAuthenticPixels(CacheView *,const ssize_t,const ssize_t,
@@ -91,11 +99,6 @@
   *QueueCacheViewAuthenticPixels(CacheView *,const ssize_t,const ssize_t,
     const size_t,const size_t,ExceptionInfo *);
 
-extern MagickExport CacheView
-  *AcquireCacheView(const Image *),
-  *CloneCacheView(const CacheView *),
-  *DestroyCacheView(CacheView *);
-
 #if defined(__cplusplus) || defined(c_plusplus)
 }
 #endif