From 9aef3ea079a57c98a9207f8c3b95a5dc08ee74b5 Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Mon, 24 Jun 2013 19:34:25 -0700 Subject: Update GIFLIB to 5.0.4 bug:9557383 Requires external/skia change: https://googleplex-android-review.googlesource.com/#/c/324745/ Change-Id: I0e59747b084c3215c699ada0edc0abd195e22e73 --- gif_hash.h | 38 +++++++++----------------------------- 1 file changed, 9 insertions(+), 29 deletions(-) (limited to 'gif_hash.h') diff --git a/gif_hash.h b/gif_hash.h index 3e23ff3..ac20a43 100644 --- a/gif_hash.h +++ b/gif_hash.h @@ -1,36 +1,14 @@ /****************************************************************************** -* Declarations, global to other of the GIF-HASH.C module. * -* * -* Written by Gershon Elber, Jun 1989 * -******************************************************************************* -* History: * -* 14 Jun 89 - Version 1.0 by Gershon Elber. * + +gif_hash.h - magfic constants and declarations for GIF LZW + ******************************************************************************/ #ifndef _GIF_HASH_H_ #define _GIF_HASH_H_ -#ifdef HAVE_CONFIG_H -#include -#endif - -/* Find a thirty-two bit int type */ -#ifdef HAVE_STDINT_H -#include -#endif -#ifdef HAVE_INTTYPES_H -#include -#endif -#ifdef HAVE_SYS_TYPES_H -#include -#endif -#ifdef HAVE_UNISTD_H #include -#endif - -#ifdef HAVE_BASETSD_H -#include -#endif +#include #define HT_SIZE 8192 /* 12bits = 4096 or twice as big! */ #define HT_KEY_MASK 0x1FFF /* 13bits keys */ @@ -48,12 +26,14 @@ #define HT_PUT_CODE(l) (l & 0x0FFF) typedef struct GifHashTableType { - UINT32 HTable[HT_SIZE]; + uint32_t HTable[HT_SIZE]; } GifHashTableType; GifHashTableType *_InitHashTable(void); void _ClearHashTable(GifHashTableType *HashTable); -void _InsertHashTable(GifHashTableType *HashTable, UINT32 Key, int Code); -int _ExistsHashTable(GifHashTableType *HashTable, UINT32 Key); +void _InsertHashTable(GifHashTableType *HashTable, uint32_t Key, int Code); +int _ExistsHashTable(GifHashTableType *HashTable, uint32_t Key); #endif /* _GIF_HASH_H_ */ + +/* end */ -- cgit v1.2.3