]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix most of the warnings generated by compiling lpr with -Wnon-const-format,
authorGarance A Drosehn <gad@FreeBSD.org>
Sun, 15 Jul 2001 00:09:46 +0000 (00:09 +0000)
committerGarance A Drosehn <gad@FreeBSD.org>
Sun, 15 Jul 2001 00:09:46 +0000 (00:09 +0000)
commit6d39e1b726e54b78521fac365221574a6368a780
tree72f0a137b622cd6dc694bb199a12a08fd1b19169
parent2a57c11a3ae6cc9c8b7f0a757857b55da7bbc23a
Fix most of the warnings generated by compiling lpr with -Wnon-const-format,
often by just telling gcc that some internal routine is "__printflike"
(work done by Kris Kennaway <kris@FreeBSD.org>).  Also fix the new warnings
which show up once gcc starts checking the "printf-like parameters" passed
to those routines.

MFC after: 1 week
usr.sbin/lpr/common_source/displayq.c
usr.sbin/lpr/common_source/lp.h
usr.sbin/lpr/lpc/cmds.c
usr.sbin/lpr/lpd/lpd.c
usr.sbin/lpr/lpd/printjob.c
usr.sbin/lpr/lpd/recvjob.c
usr.sbin/lpr/lpq/lpq.c