Received: by mail.netbsd.org (Postfix, from userid 605) id 8284A84DA1; Sat, 25 Nov 2017 14:29:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 0B06F84D97 for ; Sat, 25 Nov 2017 14:29:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id tnQiEJacIfB6 for ; Sat, 25 Nov 2017 14:29:38 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 84D9484C6C for ; Sat, 25 Nov 2017 14:29:38 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 7B393FB40; Sat, 25 Nov 2017 14:29:38 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sat, 25 Nov 2017 14:29:38 +0000 From: "Abhinav Upadhyay" Subject: CVS commit: src/usr.sbin/makemandb To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20171125142938.7B393FB40@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Abhinav Upadhyay" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: abhinav Date: Sat Nov 25 14:29:38 UTC 2017 Modified Files: src/usr.sbin/makemandb: apropos-utils.c apropos-utils.h apropos.c Log Message: Encapsulate all the arguments required by the query callback function in a struct. If we want to add or remove arguments from the callback functions, it requires changing the callback interface all over the place. By letting the callback simply expect a single struct argument, it would clean things up a bit. ok christos To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/usr.sbin/makemandb/apropos-utils.c cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/makemandb/apropos-utils.h cvs rdiff -u -r1.23 -r1.24 src/usr.sbin/makemandb/apropos.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.