Date: Sun, 24 Jun 2001 17:37:30 -0700 (PDT) From: Garance A Drosehn <gad@FreeBSD.org> 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 ... Message-ID: <200106250037.f5P0bUL30305@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
gad 2001/06/24 17:37:30 PDT
Modified files: (Branch: RELENG_4)
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:
[MFC from 2001/06/12]
Fix about 85 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
(object for lptest.c changes due to the $FreeBSD$ line being added)
Reviewed by: /sbin/md5, and freebsd-audit, freebsd-print
Revision Changes Path
1.12.2.7 +18 -41 src/usr.sbin/lpr/common_source/common.c
1.15.2.4 +26 -40 src/usr.sbin/lpr/common_source/displayq.c
1.9.2.4 +45 -45 src/usr.sbin/lpr/common_source/lp.h
1.3.2.3 +10 -10 src/usr.sbin/lpr/common_source/net.c
1.6.2.2 +13 -13 src/usr.sbin/lpr/common_source/printcap.c
1.12.2.4 +18 -28 src/usr.sbin/lpr/common_source/rmjob.c
1.8.2.1 +2 -3 src/usr.sbin/lpr/common_source/startdaemon.c
1.6.2.1 +2 -4 src/usr.sbin/lpr/filters/lpf.c
1.14.2.2 +66 -98 src/usr.sbin/lpr/lpc/cmds.c
1.3.6.1 +17 -14 src/usr.sbin/lpr/lpc/extern.h
1.13.2.4 +17 -23 src/usr.sbin/lpr/lpc/lpc.c
1.2.6.1 +6 -4 src/usr.sbin/lpr/lpc/lpc.h
1.5.2.2 +5 -5 src/usr.sbin/lpr/lpd/extern.h
1.12.2.8 +20 -27 src/usr.sbin/lpr/lpd/lpd.c
1.6.2.2 +4 -6 src/usr.sbin/lpr/lpd/modes.c
1.22.2.12 +51 -85 src/usr.sbin/lpr/lpd/printjob.c
1.14.2.5 +16 -24 src/usr.sbin/lpr/lpd/recvjob.c
1.7.2.1 +8 -11 src/usr.sbin/lpr/lpq/lpq.c
1.32.2.4 +36 -53 src/usr.sbin/lpr/lpr/lpr.c
1.6.2.1 +7 -8 src/usr.sbin/lpr/lprm/lprm.c
1.2.8.1 +6 -4 src/usr.sbin/lpr/lptest/lptest.c
1.10.2.2 +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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106250037.f5P0bUL30305>
