summaryrefslogtreecommitdiffstats
path: root/lib/route/sch
diff options
context:
space:
mode:
Diffstat (limited to 'lib/route/sch')
-rw-r--r--lib/route/sch/cbq.c2
-rw-r--r--lib/route/sch/prio.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/route/sch/cbq.c b/lib/route/sch/cbq.c
index 0df4aa0..989745c 100644
--- a/lib/route/sch/cbq.c
+++ b/lib/route/sch/cbq.c
@@ -28,7 +28,7 @@
* @{
*/
-static struct trans_tbl ovl_strategies[] = {
+static const struct trans_tbl ovl_strategies[] = {
__ADD(TC_CBQ_OVL_CLASSIC,classic)
__ADD(TC_CBQ_OVL_DELAY,delay)
__ADD(TC_CBQ_OVL_LOWPRIO,lowprio)
diff --git a/lib/route/sch/prio.c b/lib/route/sch/prio.c
index 4c9ebcf..e08e117 100644
--- a/lib/route/sch/prio.c
+++ b/lib/route/sch/prio.c
@@ -248,7 +248,7 @@ uint8_t *rtnl_qdisc_prio_get_priomap(struct rtnl_qdisc *qdisc)
* @{
*/
-static struct trans_tbl prios[] = {
+static const struct trans_tbl prios[] = {
__ADD(TC_PRIO_BESTEFFORT,besteffort)
__ADD(TC_PRIO_FILLER,filler)
__ADD(TC_PRIO_BULK,bulk)