Print this page
7127 remove -Wno-missing-braces from Makefile.uts
@@ -272,11 +272,11 @@
static struct modlsched modlsched = {
&mod_schedops, "fair share scheduling class", &fss
};
static struct modlinkage modlinkage = {
- MODREV_1, (void *)&modlsched, NULL
+ MODREV_1, { (void *)&modlsched, NULL }
};
#define FSS_MAXUPRI 60
/*
@@ -393,22 +393,22 @@
static void fss_yield(kthread_t *);
static void fss_nullsys();
static struct classfuncs fss_classfuncs = {
/* class functions */
- fss_admin,
+ { fss_admin,
fss_getclinfo,
fss_parmsin,
fss_parmsout,
fss_vaparmsin,
fss_vaparmsout,
fss_getclpri,
fss_alloc,
- fss_free,
+ fss_free },
/* thread functions */
- fss_enterclass,
+ { fss_enterclass,
fss_exitclass,
fss_canexit,
fss_fork,
fss_forkret,
fss_parmsget,
@@ -427,11 +427,11 @@
fss_wakeup,
fss_donice,
fss_globpri,
fss_nullsys, /* set_process_group */
fss_yield,
- fss_doprio,
+ fss_doprio },
};
int
_init()
{