Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/xsrc/rev/26904f34d2d7
branches:  netbsd-7-1
changeset: 9969:26904f34d2d7
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Jun 30 11:35:28 2018 +0000

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

        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 fd40deb5f800 -r 26904f34d2d7 xfree/xc/programs/mkfontscale/ident.c
--- a/xfree/xc/programs/mkfontscale/ident.c     Sat Dec 02 10:52:42 2017 +0000
+++ b/xfree/xc/programs/mkfontscale/ident.c     Sat Jun 30 11:35:28 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