Source-Changes-HG archive

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

[src/trunk]: src/libexec/makewhatis make this compile.



details:   https://anonhg.NetBSD.org/src/rev/88dfe9c189fb
branches:  trunk
changeset: 826861:88dfe9c189fb
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Oct 02 22:14:32 2017 +0000

description:
make this compile.

diffstat:

 libexec/makewhatis/makewhatis.c |  18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diffs (68 lines):

diff -r 2d5c31ef192a -r 88dfe9c189fb libexec/makewhatis/makewhatis.c
--- a/libexec/makewhatis/makewhatis.c   Mon Oct 02 22:04:51 2017 +0000
+++ b/libexec/makewhatis/makewhatis.c   Mon Oct 02 22:14:32 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: makewhatis.c,v 1.50 2017/10/02 22:04:51 joerg Exp $    */
+/*     $NetBSD: makewhatis.c,v 1.51 2017/10/02 22:14:32 christos Exp $ */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
 #if !defined(lint)
 __COPYRIGHT("@(#) Copyright (c) 1999\
  The NetBSD Foundation, Inc.  All rights reserved.");
-__RCSID("$NetBSD: makewhatis.c,v 1.50 2017/10/02 22:04:51 joerg Exp $");
+__RCSID("$NetBSD: makewhatis.c,v 1.51 2017/10/02 22:14:32 christos Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -98,10 +98,10 @@
 static char    *makesection(int);
 static char    *makewhatisline(const char *, const char *, const char *);
 static void    catpreprocess(char *);
-static char    *parsecatpage(const char *, gzFile *);
+static char    *parsecatpage(const char *, gzFile);
 static int     manpreprocess(char *);
-static char    *nroff(const char *, gzFile *);
-static char    *parsemanpage(const char *, gzFile *, int);
+static char    *nroff(const char *, gzFile);
+static char    *parsemanpage(const char *, gzFile, int);
 static char    *getwhatisdata(char *);
 static void    processmanpages(manpage **, whatis **);
 static void    dumpwhatis(FILE *, whatis *);
@@ -625,7 +625,7 @@
 }
 
 static char *
-parsecatpage(const char *name, gzFile *in)
+parsecatpage(const char *name, gzFile in)
 {
        char     buffer[8192];
        char    *section, *ptr, *last;
@@ -770,7 +770,7 @@
 }
 
 static char *
-nroff(const char *inname, gzFile *in)
+nroff(const char *inname, gzFile in)
 {
        char tempname[MAXPATHLEN], buffer[65536], *data;
        int tempfd, bytes, pipefd[2], status;
@@ -869,7 +869,7 @@
 }
 
 static char *
-parsemanpage(const char *name, gzFile *in, int defaultsection)
+parsemanpage(const char *name, gzFile in, int defaultsection)
 {
        char    *section, buffer[8192], *ptr;
        static const char POD[] = ".\\\" Automatically generated by Pod";
@@ -1098,7 +1098,7 @@
 static char *
 getwhatisdata(char *name)
 {
-       gzFile  *in;
+       gzFile  in;
        char    *data;
        int      section;
 



Home | Main Index | Thread Index | Old Index