Print this page
7127 remove -Wno-missing-braces from Makefile.uts
*** 72,82 ****
static struct modlsched modlsched = {
&mod_schedops, "time sharing sched class", &csw
};
static struct modlinkage modlinkage = {
! MODREV_1, (void *)&modlsched, NULL
};
int
_init()
{
--- 72,82 ----
static struct modlsched modlsched = {
&mod_schedops, "time sharing sched class", &csw
};
static struct modlinkage modlinkage = {
! MODREV_1, { (void *)&modlsched, NULL }
};
int
_init()
{
*** 237,258 ****
static gid_t IA_gid = 0;
static struct classfuncs ts_classfuncs = {
/* class functions */
! ts_admin,
ts_getclinfo,
ts_parmsin,
ts_parmsout,
ts_vaparmsin,
ts_vaparmsout,
ts_getclpri,
ts_alloc,
! ts_free,
/* thread functions */
! ts_enterclass,
ts_exitclass,
ts_canexit,
ts_fork,
ts_forkret,
ts_parmsget,
--- 237,258 ----
static gid_t IA_gid = 0;
static struct classfuncs ts_classfuncs = {
/* class functions */
! { ts_admin,
ts_getclinfo,
ts_parmsin,
ts_parmsout,
ts_vaparmsin,
ts_vaparmsout,
ts_getclpri,
ts_alloc,
! ts_free },
/* thread functions */
! { ts_enterclass,
ts_exitclass,
ts_canexit,
ts_fork,
ts_forkret,
ts_parmsget,
*** 271,281 ****
ts_wakeup,
ts_donice,
ts_globpri,
ts_nullsys, /* set_process_group */
ts_yield,
! ts_doprio,
};
/*
* ia_classfuncs is used for interactive class threads; IA threads are stored
* on the same class list as TS threads, and most of the class functions are
--- 271,281 ----
ts_wakeup,
ts_donice,
ts_globpri,
ts_nullsys, /* set_process_group */
ts_yield,
! ts_doprio },
};
/*
* ia_classfuncs is used for interactive class threads; IA threads are stored
* on the same class list as TS threads, and most of the class functions are
*** 282,303 ****
* identical, but a few have different enough functionality to require their
* own functions.
*/
static struct classfuncs ia_classfuncs = {
/* class functions */
! ts_admin,
ia_getclinfo,
ia_parmsin,
ts_parmsout,
ia_vaparmsin,
ia_vaparmsout,
ia_getclpri,
ts_alloc,
! ts_free,
/* thread functions */
! ts_enterclass,
ts_exitclass,
ts_canexit,
ts_fork,
ts_forkret,
ia_parmsget,
--- 282,303 ----
* identical, but a few have different enough functionality to require their
* own functions.
*/
static struct classfuncs ia_classfuncs = {
/* class functions */
! { ts_admin,
ia_getclinfo,
ia_parmsin,
ts_parmsout,
ia_vaparmsin,
ia_vaparmsout,
ia_getclpri,
ts_alloc,
! ts_free },
/* thread functions */
! { ts_enterclass,
ts_exitclass,
ts_canexit,
ts_fork,
ts_forkret,
ia_parmsget,
*** 316,326 ****
ts_wakeup,
ts_donice,
ts_globpri,
ia_set_process_group,
ts_yield,
! ts_doprio,
};
/*
* Time sharing class initialization. Called by dispinit() at boot time.
--- 316,326 ----
ts_wakeup,
ts_donice,
ts_globpri,
ia_set_process_group,
ts_yield,
! ts_doprio },
};
/*
* Time sharing class initialization. Called by dispinit() at boot time.