From owner-cvs-all Sat Apr 27 18:33:51 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3B9BC37B423; Sat, 27 Apr 2002 18:33:46 -0700 (PDT) Received: (from gad@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3S1Xk309849; Sat, 27 Apr 2002 18:33:46 -0700 (PDT) (envelope-from gad) Message-Id: <200204280133.g3S1Xk309849@freefall.freebsd.org> From: Garance A Drosehn Date: Sat, 27 Apr 2002 18:33:46 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/gnu/usr.bin/patch backupfile.c backupfile.h common.h getopt.c getopt.h inp.c inp.h patch.c pch.c pch.h util.c util.h version.c version.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG gad 2002/04/27 18:33:46 PDT Modified files: gnu/usr.bin/patch backupfile.c backupfile.h common.h getopt.c getopt.h inp.c inp.h patch.c pch.c pch.h util.c util.h version.c version.h Log: Add many prototypes and ANSI-ize 'patch. Not a complete job of it, but it gets our patch to look a little more like NetBSD's, and has the nice characteristic that the object code is exactly the same after the change as before it (even in patch.c and pch.c, which have pesky 'assert' statements in them). Reviewed by: /sbin/md5 on i386, alpha, sparc64 MFC after: 3 days Revision Changes Path 1.6 +24 -40 src/gnu/usr.bin/patch/backupfile.c 1.5 +3 -9 src/gnu/usr.bin/patch/backupfile.h 1.8 +2 -2 src/gnu/usr.bin/patch/common.h 1.6 +7 -18 src/gnu/usr.bin/patch/getopt.c 1.5 +1 -1 src/gnu/usr.bin/patch/getopt.h 1.11 +24 -22 src/gnu/usr.bin/patch/inp.c 1.7 +7 -7 src/gnu/usr.bin/patch/inp.h 1.20 +33 -44 src/gnu/usr.bin/patch/patch.c 1.19 +77 -69 src/gnu/usr.bin/patch/pch.c 1.7 +24 -24 src/gnu/usr.bin/patch/pch.h 1.9 +8 -16 src/gnu/usr.bin/patch/util.c 1.8 +13 -13 src/gnu/usr.bin/patch/util.h 1.7 +3 -3 src/gnu/usr.bin/patch/version.c 1.7 +2 -2 src/gnu/usr.bin/patch/version.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message