freebsd-nq/lib/libcasper
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
..
libcasper Fix trailing-comma-related typos in the tree when the Xr macro is used 2020-06-27 11:13:45 +00:00
services [libcasper] Update cap_dns API to not trigger unused variable warnings when disabled 2020-10-13 22:49:43 +00:00
tests
Makefile libcasper/services: include <src.opts.mk> to hook tests to build 2019-10-23 01:50:41 +00:00
Makefile.inc