freebsd-dev/usr.sbin/lpr/common_source
Enji Cooper a6e9cd258c Fix clang -Wcast-qual issues
Remove unnecessary `char*` casting for arguments passed to `cget*(3)`, and
deconst `_PATH_PRINTCAP` before passing it to `cget*` via the `printcapdb`
variable.

This unblocks ^/projects/runtime-coverage-v2 from building cleanly on
universe13a.freebsd.org. I suspect the issue was introduced through some
changes to `bsd.*.mk` inclusion on the branch, which I will continue to
investigate/isolate.

MFC after:	1 week
Tested with:	clang 8 (arm64)
2019-05-04 02:09:30 +00:00
..
common.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
ctlinfo.c Fix the resource leak of a 'FILE *' which could happen in routine 2018-03-12 01:41:16 +00:00
ctlinfo.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
displayq.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
lp.cdefs.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
lp.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
lp.local.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
Makefile
Makefile.depend
matchjobs.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
matchjobs.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
net.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
pathnames.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
printcap.c Fix clang -Wcast-qual issues 2019-05-04 02:09:30 +00:00
request.c
rmjob.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
startdaemon.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00