/*
 * sqmacro.c - DF-2916 compile test.
 *
 * The documented sleepq_set_timeout() macro (sys/sys/sleepqueue.h:117-118)
 * expands to sleepq_set_timeout_sbt((wchan), tick_sbt * (timo), 0,
 * C_HARDCLOCK).  Neither `tick_sbt` nor `C_HARDCLOCK` exists anywhere in
 * the DragonFly tree (the macro is their only occurrence), so ANY user of
 * the documented timeout API fails to compile.  Build with:
 *
 *	cc -nostdinc -I/usr/src/sys -I/usr/src/sys/config -c sqmacro.c
 */
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/sleepqueue.h>

static int df2916_chan;

static void
df2916_use(void)
{
	sleepq_set_timeout(&df2916_chan, 100);
}
