Mark osi __unused so this compiles cleanly on FreeBSD

Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2014-10-21 18:01:37 +00:00
parent 83a4c3f99e
commit 30f7722958
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=273395

View File

@ -38,7 +38,11 @@ static timer_t t;
static bool fail = true;
static void
#if defined(__FreeBSD__)
timer_signal_handler(int signo, siginfo_t *si, void *osi __unused)
#else
timer_signal_handler(int signo, siginfo_t *si, void *osi)
#endif
{
timer_t *tp;