XEmacs 21.2.5
[chise/xemacs-chise.git.1] / src / gifrlib.h
index 5b185d7..7532001 100644 (file)
@@ -36,11 +36,7 @@ typedef      unsigned char   GifPixelType;
 typedef unsigned char *        GifRowType;
 typedef unsigned char  GifByteType;
 
-#ifdef SYSV
-#define VoidPtr char *
-#else
 #define VoidPtr void *
-#endif /* SYSV */
 
 typedef struct GifColorType {
     GifByteType Red, Green, Blue;
@@ -168,14 +164,14 @@ extern void GifWarning(GifFileType *GifFile, const char *err_str);
 /* This is the in-core version of an extension record */
 typedef struct {
     int                ByteCount;
-    char       *Bytes;         /* on malloc(3) heap */
+    GifByteType        *Bytes;         /* on malloc(3) heap */
 } ExtensionBlock;
 
 /* This holds an image header, its unpacked raster bits, and extensions */
 typedef struct SavedImage {
     GifImageDesc       ImageDesc;
 
-    char               *RasterBits;            /* on malloc(3) heap */
+    GifPixelType       *RasterBits;            /* on malloc(3) heap */
 
     int                        Function;
     int                        ExtensionBlockCount;