Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/xsrc/rev/bc159ec6c707
branches:  netbsd-6-1
changeset: 9971:bc159ec6c707
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Jun 30 11:43:18 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 5aac266be402 -r bc159ec6c707 xfree/xc/programs/mkfontscale/ident.c
--- a/xfree/xc/programs/mkfontscale/ident.c     Sat Jan 13 22:30:12 2018 +0000
+++ b/xfree/xc/programs/mkfontscale/ident.c     Sat Jun 30 11:43:18 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