__unused is a FreeBSDism, use OPENPAM_UNUSED().

git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@657 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
Dag-Erling Smørgrav 2013-03-06 22:59:05 +00:00
parent efe65a2cab
commit 26d543d484
1 changed files with 1 additions and 1 deletions

2
t/t.h
View File

@ -44,7 +44,7 @@ struct t_test {
static int t_ ## n ## _func(void *); \
static const struct t_test t_ ## n = \
{ t_ ## n ## _func, d, NULL }; \
static int t_ ## n ## _func(void *arg __unused)
static int t_ ## n ## _func(OPENPAM_UNUSED(void *arg))
#define T_FUNC_ARG(n, d, a) \
static int t_ ## n ## _func(void *); \