freebsd-skq/lib/libcasper/services
Adrian Chadd 388197f414 [libcasper] Update cap_dns API to not trigger unused variable warnings when disabled
When compiling without casper these API calls result in unused variable warnings.
Using #defines was lovely in the past but unfortunately it triggers warnings
which can cascade into errors.

Instead, just inline with some fallthrough functions and keep things happy.

Tested:

* gcc-6 targeting mips32, with casper disabled

Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D26762
2020-10-13 22:49:43 +00:00
..
cap_dns [libcasper] Update cap_dns API to not trigger unused variable warnings when disabled 2020-10-13 22:49:43 +00:00
cap_fileargs libcasper(3): Document HISTORY within the manpages 2020-06-16 16:48:52 +00:00
cap_grp build: provide a default WARNS for all in-tree builds 2020-09-18 17:17:46 +00:00
cap_net libcasper: Introduce cap_net a network service for Casper. 2020-08-16 18:12:21 +00:00
cap_pwd build: provide a default WARNS for all in-tree builds 2020-09-18 17:17:46 +00:00
cap_sysctl build: provide a default WARNS for all in-tree builds 2020-09-18 17:17:46 +00:00
cap_syslog libcasper(3): Document HISTORY within the manpages 2020-06-16 16:48:52 +00:00
tests DIRDEPS_BUILD: Connect new directories. 2017-10-31 00:04:07 +00:00
Makefile libcasper: Introduce cap_net a network service for Casper. 2020-08-16 18:12:21 +00:00
Makefile.inc