diff options
Diffstat (limited to 'cxpm')
-rw-r--r-- | cxpm/cxpm.c | 8 |
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') { |