Module Name:    src
Committed By:   christos
Date:           Mon Oct  2 22:14:33 UTC 2017

Modified Files:
        src/libexec/makewhatis: makewhatis.c

Log Message:
make this compile.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/libexec/makewhatis/makewhatis.c

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

Modified files:

Index: src/libexec/makewhatis/makewhatis.c
diff -u src/libexec/makewhatis/makewhatis.c:1.50 src/libexec/makewhatis/makewhatis.c:1.51
--- src/libexec/makewhatis/makewhatis.c:1.50	Mon Oct  2 18:04:51 2017
+++ src/libexec/makewhatis/makewhatis.c	Mon Oct  2 18:14:32 2017
@@ -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 void	addwhatis(whatis **, char *,
 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 @@ makewhatisline(const char *file, const c
 }
 
 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 @@ manpreprocess(char *line)
 }
 
 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 @@ nroff(const char *inname, gzFile *in)
 }
 
 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 @@ parsemanpage(const char *name, gzFile *i
 static char *
 getwhatisdata(char *name)
 {
-	gzFile	*in;
+	gzFile	in;
 	char	*data;
 	int	 section;
 

Reply via email to