Print this page
7127 remove -Wno-missing-braces from Makefile.uts
*** 67,77 ****
static struct modlsched modlsched = {
&mod_schedops, "realtime scheduling class", &csw
};
static struct modlinkage modlinkage = {
! MODREV_1, (void *)&modlsched, NULL
};
int
_init()
{
--- 67,77 ----
static struct modlsched modlsched = {
&mod_schedops, "realtime scheduling class", &csw
};
static struct modlinkage modlinkage = {
! MODREV_1, { (void *)&modlsched, NULL }
};
int
_init()
{
*** 147,167 ****
extern rtdpent_t *rt_getdptbl(void);
static struct classfuncs rt_classfuncs = {
/* class ops */
! rt_admin,
rt_getclinfo,
rt_parmsin,
rt_parmsout,
rt_vaparmsin,
rt_vaparmsout,
rt_getclpri,
rt_alloc,
! rt_free,
/* thread ops */
! rt_enterclass,
rt_exitclass,
rt_canexit,
rt_fork,
rt_forkret,
rt_parmsget,
--- 147,167 ----
extern rtdpent_t *rt_getdptbl(void);
static struct classfuncs rt_classfuncs = {
/* class ops */
! { rt_admin,
rt_getclinfo,
rt_parmsin,
rt_parmsout,
rt_vaparmsin,
rt_vaparmsout,
rt_getclpri,
rt_alloc,
! rt_free },
/* thread ops */
! { rt_enterclass,
rt_exitclass,
rt_canexit,
rt_fork,
rt_forkret,
rt_parmsget,
*** 180,190 ****
rt_wakeup,
rt_donice,
rt_globpri,
rt_nullsys, /* set_process_group */
rt_yield,
! rt_doprio,
};
/*
* Real-time class initialization. Called by dispinit() at boot time.
* We can ignore the clparmsz argument since we know that the smallest
--- 180,190 ----
rt_wakeup,
rt_donice,
rt_globpri,
rt_nullsys, /* set_process_group */
rt_yield,
! rt_doprio },
};
/*
* Real-time class initialization. Called by dispinit() at boot time.
* We can ignore the clparmsz argument since we know that the smallest