XEmacs 21.2.28 "Hermes".
[chise/xemacs-chise.git.1] / src / gifrlib.h
index 715cef2..292a5a4 100644 (file)
@@ -14,8 +14,8 @@
 * 19 Jan 98 - Version 3.1 by Jareth Hein (Support for user-defined I/O).      *
 ******************************************************************************/
 
-#ifndef GIF_LIB_H
-#define GIF_LIB_H
+#ifndef INCLUDED_gifrlib_h_
+#define INCLUDED_gifrlib_h_
 
 #define        GIF_ERROR       0
 #define GIF_OK         1
@@ -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;
@@ -167,7 +163,7 @@ extern void GifWarning(GifFileType *GifFile, const char *err_str);
 
 /* This is the in-core version of an extension record */
 typedef struct {
-    int                    ByteCount;
+    int                ByteCount;
     GifByteType        *Bytes;         /* on malloc(3) heap */
 } ExtensionBlock;
 
@@ -268,5 +264,4 @@ int GifStdFileClose(VoidPtr method_data);
 ColorMapObject *MakeMapObject(int ColorCount, GifColorType *ColorMap);
 void FreeMapObject(ColorMapObject *Object);
 
-
-#endif /* GIF_LIB_H */
+#endif /* INCLUDED_gifrlib_h_ */