summaryrefslogtreecommitdiff
path: root/cxpm
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:27:16 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:27:16 +0000
commitfbfe965054d8144946651b19085684af7f6715b9 (patch)
treef276c3a252afb26db23814413a7a7f5d4d486296 /cxpm
parentc037348b5df0ac94ad4daba59f8bc9acf12ef623 (diff)
downloadxorg-lib-libXpm-fbfe965054d8144946651b19085684af7f6715b9.tar.gz
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_903_specialxf86-4_3_99_902xf86-4_3_99_901xf86-4_3_99_16xf86-012804-2330
Diffstat (limited to 'cxpm')
-rw-r--r--cxpm/cxpm.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/cxpm/cxpm.c b/cxpm/cxpm.c
index 20b4905..f7a7c5e 100644
--- a/cxpm/cxpm.c
+++ b/cxpm/cxpm.c
@@ -22,7 +22,7 @@
* used in advertising or otherwise to promote the sale, use or other dealings
* in this Software without prior written authorization from Arnaud LE HORS.
*/
-/* $XFree86: xc/extras/Xpm/cxpm/cxpm.c,v 1.2 2001/08/01 00:44:34 tsi Exp $ */
+/* $XFree86: xc/extras/Xpm/cxpm/cxpm.c,v 1.3 2003/05/27 16:45:41 tsi Exp $ */
/*****************************************************************************\
* cxpm.c: *
@@ -47,8 +47,9 @@
* note that 's' could stand both for "special" and "slow" ;-)
*/
static int
-sGetc(data)
+sGetc(data, file)
xpmData *data;
+ FILE *file;
{
int c = getc(data->stream.file);
if (c == '\n') {
@@ -61,9 +62,10 @@ sGetc(data)
}
static void
-sUngetc(data, c)
+sUngetc(data, c, file)
xpmData *data;
int c;
+ FILE *file;
{
ungetc(c, data->stream.file);
if (c == '\n') {