From owner-cvs-all Tue Jun 12 9:38:26 2001 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 E536037B408; Tue, 12 Jun 2001 09:38:20 -0700 (PDT) (envelope-from gad@FreeBSD.org) Received: (from gad@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5CGcKP17387; Tue, 12 Jun 2001 09:38:20 -0700 (PDT) (envelope-from gad) Message-Id: <200106121638.f5CGcKP17387@freefall.freebsd.org> From: Garance A Drosehn Date: Tue, 12 Jun 2001 09:38:20 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/lpr/common_source common.c displayq.c lp.h net.c printcap.c rmjob.c startdaemon.c src/usr.sbin/lpr/filters lpf.c src/usr.sbin/lpr/lpc cmds.c extern.h lpc.c lpc.h src/usr.sbin/lpr/lpd extern.h lpd.c modes.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 gad 2001/06/12 09:38:20 PDT Modified files: usr.sbin/lpr/common_source common.c displayq.c lp.h net.c printcap.c rmjob.c startdaemon.c usr.sbin/lpr/filters lpf.c usr.sbin/lpr/lpc cmds.c extern.h lpc.c lpc.h usr.sbin/lpr/lpd extern.h lpd.c modes.c printjob.c recvjob.c usr.sbin/lpr/lpq lpq.c usr.sbin/lpr/lpr lpr.c usr.sbin/lpr/lprm lprm.c usr.sbin/lpr/lptest lptest.c usr.sbin/lpr/pac pac.c Log: Fix about 90-100 warnings one gets when trying to compile lpr&friends with BDECFLAGS on, mainly by adding 'const' to parameters in a number of routine declarations. While I'm at it, ANSI-fy all of the routine declarations. The resulting object code is exactly the same after this update as before it, with the exception of one unavoidable change to lpd.o on freebsd/alpha. Also added $FreeBSD$ line to lpc/extern.h lpc/lpc.h lptest/lptest.c Reviewed by: /sbin/md5, and no feedback from freebsd-audit Revision Changes Path 1.19 +18 -41 src/usr.sbin/lpr/common_source/common.c 1.19 +26 -40 src/usr.sbin/lpr/common_source/displayq.c 1.15 +45 -45 src/usr.sbin/lpr/common_source/lp.h 1.6 +10 -10 src/usr.sbin/lpr/common_source/net.c 1.8 +13 -13 src/usr.sbin/lpr/common_source/printcap.c 1.16 +18 -28 src/usr.sbin/lpr/common_source/rmjob.c 1.9 +2 -3 src/usr.sbin/lpr/common_source/startdaemon.c 1.7 +2 -4 src/usr.sbin/lpr/filters/lpf.c 1.16 +66 -98 src/usr.sbin/lpr/lpc/cmds.c 1.4 +17 -14 src/usr.sbin/lpr/lpc/extern.h 1.17 +17 -23 src/usr.sbin/lpr/lpc/lpc.c 1.3 +6 -4 src/usr.sbin/lpr/lpc/lpc.h 1.7 +5 -5 src/usr.sbin/lpr/lpd/extern.h 1.20 +20 -27 src/usr.sbin/lpr/lpd/lpd.c 1.8 +4 -6 src/usr.sbin/lpr/lpd/modes.c 1.36 +51 -85 src/usr.sbin/lpr/lpd/printjob.c 1.19 +16 -24 src/usr.sbin/lpr/lpd/recvjob.c 1.8 +8 -11 src/usr.sbin/lpr/lpq/lpq.c 1.36 +36 -53 src/usr.sbin/lpr/lpr/lpr.c 1.7 +7 -8 src/usr.sbin/lpr/lprm/lprm.c 1.3 +6 -4 src/usr.sbin/lpr/lptest/lptest.c 1.12 +31 -41 src/usr.sbin/lpr/pac/pac.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message