Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/netbsd-6]: xsrc/xfree/xc/programs/mkfontscale Apply patch, requested by...



details:   https://anonhg.NetBSD.org/xsrc/rev/a31f4e711e62
branches:  netbsd-6
changeset: 9970:a31f4e711e62
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Jun 30 11:41:58 2018 +0000

description:
Apply patch, requested by mrg in ticket #1550:

        xsrc/xfree/xc/programs/mkfontscale/ident.c      (patch)

Pass gzFile, not gzFile * to gzio functions.
Should fix PR toolchain/53415.

diffstat:

 xfree/xc/programs/mkfontscale/ident.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r a55a7d5ca725 -r a31f4e711e62 xfree/xc/programs/mkfontscale/ident.c
--- a/xfree/xc/programs/mkfontscale/ident.c     Sat Jan 13 22:30:57 2018 +0000
+++ b/xfree/xc/programs/mkfontscale/ident.c     Sat Jun 30 11:41:58 2018 +0000
@@ -213,7 +213,7 @@
 #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 @@
 }
 
 static int
-bdfskip(gzFile *f)
+bdfskip(gzFile f)
 {
     int c;
     do {
@@ -248,7 +248,7 @@
 }
 
 static char *
-bdfend(gzFile *f)
+bdfend(gzFile f)
 {
     int c;
     char *buf = NULL;



Home | Main Index | Thread Index | Old Index