Module Name:    xsrc
Committed By:   aymeric
Date:           Tue Feb  3 20:02:51 UTC 2015

Modified Files:
        xsrc/xfree/xc/programs/mkfontscale: ident.c

Log Message:
gzFile already is a pointer. Fix three misuses of this typedef, caught by
a recent zlib on ArchLinux.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 xsrc/xfree/xc/programs/mkfontscale/ident.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/xfree/xc/programs/mkfontscale/ident.c
diff -u xsrc/xfree/xc/programs/mkfontscale/ident.c:1.1.1.1 xsrc/xfree/xc/programs/mkfontscale/ident.c:1.2
--- xsrc/xfree/xc/programs/mkfontscale/ident.c:1.1.1.1	Fri Mar  5 14:26:48 2004
+++ xsrc/xfree/xc/programs/mkfontscale/ident.c	Tue Feb  3 20:02:51 2015
@@ -213,7 +213,7 @@ pcfIdentify(gzFile f, char **name)
 #define NKEY 20
 
 static char*
-getKeyword(gzFile *f, int *eol)
+getKeyword(gzFile f, int *eol)
 {
     static char keyword[NKEY + 1];
     int c, i;
@@ -236,7 +236,7 @@ getKeyword(gzFile *f, int *eol)
 }
 
 static int
-bdfskip(gzFile *f)
+bdfskip(gzFile f)
 {
     int c;
     do {
@@ -248,7 +248,7 @@ bdfskip(gzFile *f)
 }
 
 static char *
-bdfend(gzFile *f)
+bdfend(gzFile f)
 {
     int c;
     char *buf = NULL;

Reply via email to