From owner-cvs-all Fri Jun 21 3:15: 5 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 4783637B40A; Fri, 21 Jun 2002 03:14:58 -0700 (PDT) Received: (from markm@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5LAEwS38601; Fri, 21 Jun 2002 03:14:58 -0700 (PDT) (envelope-from markm) Message-Id: <200206211014.g5LAEwS38601@freefall.freebsd.org> From: Mark Murray Date: Fri, 21 Jun 2002 03:14:57 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/pr egetopt.c pr.c 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 markm 2002/06/21 03:14:57 PDT Modified files: usr.bin/pr egetopt.c pr.c Log: Modernise this code by rounding up the usual suspects: register keyword, consts, ANSIfication of functions, proper use of __FBSDID() and so on. This commit is non-functional from a code-execution perspective, but pr(1) now compiles WARNS=6 clean. Revision Changes Path 1.2 +16 -13 src/usr.bin/pr/egetopt.c 1.15 +71 -107 src/usr.bin/pr/pr.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message