Mercurial > hg > xemacs-beta
comparison src/dgif_lib.c @ 203:850242ba4a81 r20-3b28
Import from CVS: tag r20-3b28
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:02:21 +0200 |
parents | b405438285a2 |
children |
comparison
equal
deleted
inserted
replaced
202:61eefc8fc970 | 203:850242ba4a81 |
---|---|
117 /****************************************************************************** | 117 /****************************************************************************** |
118 * Open a new gif file for read, given by its name. * | 118 * Open a new gif file for read, given by its name. * |
119 * Returns GifFileType pointer dynamically allocated which serves as the gif * | 119 * Returns GifFileType pointer dynamically allocated which serves as the gif * |
120 * info record. _GifError is cleared if succesfull. * | 120 * info record. _GifError is cleared if succesfull. * |
121 ******************************************************************************/ | 121 ******************************************************************************/ |
122 GifFileType *DGifOpenFileName(const char *FileName) | 122 GifFileType *DGifOpenFileName(CONST char *FileName) |
123 { | 123 { |
124 int FileHandle; | 124 int FileHandle; |
125 | 125 |
126 if ((FileHandle = open(FileName, O_RDONLY | 126 if ((FileHandle = open(FileName, O_RDONLY |
127 #ifdef __MSDOS__ | 127 #ifdef __MSDOS__ |