Print this page
7127 remove -Wno-missing-braces from Makefile.uts
@@ -26,12 +26,10 @@
/* Copyright (c) 1990, 1991 UNIX System Laboratories, Inc. */
/* Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T */
/* All Rights Reserved */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/proc.h>
#include <sys/priocntl.h>
#include <sys/class.h>
#include <sys/disp.h>
#include <sys/rt.h>
@@ -53,11 +51,11 @@
static struct modlmisc modlmisc = {
&mod_miscops, "realtime dispatch table"
};
static struct modlinkage modlinkage = {
- MODREV_1, &modlmisc, 0
+ MODREV_1, { &modlmisc, NULL }
};
int
_init()
{
@@ -74,70 +72,70 @@
rtdpent_t config_rt_dptbl[] = {
/* prilevel Time quantum */
- RTGPPRIO0, 100,
- RTGPPRIO0+1, 100,
- RTGPPRIO0+2, 100,
- RTGPPRIO0+3, 100,
- RTGPPRIO0+4, 100,
- RTGPPRIO0+5, 100,
- RTGPPRIO0+6, 100,
- RTGPPRIO0+7, 100,
- RTGPPRIO0+8, 100,
- RTGPPRIO0+9, 100,
- RTGPPRIO0+10, 80,
- RTGPPRIO0+11, 80,
- RTGPPRIO0+12, 80,
- RTGPPRIO0+13, 80,
- RTGPPRIO0+14, 80,
- RTGPPRIO0+15, 80,
- RTGPPRIO0+16, 80,
- RTGPPRIO0+17, 80,
- RTGPPRIO0+18, 80,
- RTGPPRIO0+19, 80,
- RTGPPRIO0+20, 60,
- RTGPPRIO0+21, 60,
- RTGPPRIO0+22, 60,
- RTGPPRIO0+23, 60,
- RTGPPRIO0+24, 60,
- RTGPPRIO0+25, 60,
- RTGPPRIO0+26, 60,
- RTGPPRIO0+27, 60,
- RTGPPRIO0+28, 60,
- RTGPPRIO0+29, 60,
- RTGPPRIO0+30, 40,
- RTGPPRIO0+31, 40,
- RTGPPRIO0+32, 40,
- RTGPPRIO0+33, 40,
- RTGPPRIO0+34, 40,
- RTGPPRIO0+35, 40,
- RTGPPRIO0+36, 40,
- RTGPPRIO0+37, 40,
- RTGPPRIO0+38, 40,
- RTGPPRIO0+39, 40,
- RTGPPRIO0+40, 20,
- RTGPPRIO0+41, 20,
- RTGPPRIO0+42, 20,
- RTGPPRIO0+43, 20,
- RTGPPRIO0+44, 20,
- RTGPPRIO0+45, 20,
- RTGPPRIO0+46, 20,
- RTGPPRIO0+47, 20,
- RTGPPRIO0+48, 20,
- RTGPPRIO0+49, 20,
- RTGPPRIO0+50, 10,
- RTGPPRIO0+51, 10,
- RTGPPRIO0+52, 10,
- RTGPPRIO0+53, 10,
- RTGPPRIO0+54, 10,
- RTGPPRIO0+55, 10,
- RTGPPRIO0+56, 10,
- RTGPPRIO0+57, 10,
- RTGPPRIO0+58, 10,
- RTGPPRIO0+59, 10
+ { RTGPPRIO0, 100 },
+ { RTGPPRIO0+1, 100 },
+ { RTGPPRIO0+2, 100 },
+ { RTGPPRIO0+3, 100 },
+ { RTGPPRIO0+4, 100 },
+ { RTGPPRIO0+5, 100 },
+ { RTGPPRIO0+6, 100 },
+ { RTGPPRIO0+7, 100 },
+ { RTGPPRIO0+8, 100 },
+ { RTGPPRIO0+9, 100 },
+ { RTGPPRIO0+10, 80 },
+ { RTGPPRIO0+11, 80 },
+ { RTGPPRIO0+12, 80 },
+ { RTGPPRIO0+13, 80 },
+ { RTGPPRIO0+14, 80 },
+ { RTGPPRIO0+15, 80 },
+ { RTGPPRIO0+16, 80 },
+ { RTGPPRIO0+17, 80 },
+ { RTGPPRIO0+18, 80 },
+ { RTGPPRIO0+19, 80 },
+ { RTGPPRIO0+20, 60 },
+ { RTGPPRIO0+21, 60 },
+ { RTGPPRIO0+22, 60 },
+ { RTGPPRIO0+23, 60 },
+ { RTGPPRIO0+24, 60 },
+ { RTGPPRIO0+25, 60 },
+ { RTGPPRIO0+26, 60 },
+ { RTGPPRIO0+27, 60 },
+ { RTGPPRIO0+28, 60 },
+ { RTGPPRIO0+29, 60 },
+ { RTGPPRIO0+30, 40 },
+ { RTGPPRIO0+31, 40 },
+ { RTGPPRIO0+32, 40 },
+ { RTGPPRIO0+33, 40 },
+ { RTGPPRIO0+34, 40 },
+ { RTGPPRIO0+35, 40 },
+ { RTGPPRIO0+36, 40 },
+ { RTGPPRIO0+37, 40 },
+ { RTGPPRIO0+38, 40 },
+ { RTGPPRIO0+39, 40 },
+ { RTGPPRIO0+40, 20 },
+ { RTGPPRIO0+41, 20 },
+ { RTGPPRIO0+42, 20 },
+ { RTGPPRIO0+43, 20 },
+ { RTGPPRIO0+44, 20 },
+ { RTGPPRIO0+45, 20 },
+ { RTGPPRIO0+46, 20 },
+ { RTGPPRIO0+47, 20 },
+ { RTGPPRIO0+48, 20 },
+ { RTGPPRIO0+49, 20 },
+ { RTGPPRIO0+50, 10 },
+ { RTGPPRIO0+51, 10 },
+ { RTGPPRIO0+52, 10 },
+ { RTGPPRIO0+53, 10 },
+ { RTGPPRIO0+54, 10 },
+ { RTGPPRIO0+55, 10 },
+ { RTGPPRIO0+56, 10 },
+ { RTGPPRIO0+57, 10 },
+ { RTGPPRIO0+58, 10 },
+ { RTGPPRIO0+59, 10 }
};
/*
* Return the address of config_rt_dptbl
*/