__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:
parent
efe65a2cab
commit
26d543d484
2
t/t.h
2
t/t.h
|
@ -44,7 +44,7 @@ struct t_test {
|
||||||
static int t_ ## n ## _func(void *); \
|
static int t_ ## n ## _func(void *); \
|
||||||
static const struct t_test t_ ## n = \
|
static const struct t_test t_ ## n = \
|
||||||
{ t_ ## n ## _func, d, NULL }; \
|
{ 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) \
|
#define T_FUNC_ARG(n, d, a) \
|
||||||
static int t_ ## n ## _func(void *); \
|
static int t_ ## n ## _func(void *); \
|
||||||
|
|
Loading…
Reference in New Issue