Date: Tue, 12 Jun 2001 09:38:20 -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: <200106121638.f5CGcKP17387@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106121638.f5CGcKP17387>
