From 5fb9f28d80e57fbad7faa5b49b66b4fd1f5f6063 Mon Sep 17 00:00:00 2001 From: rwatson Date: Mon, 12 Jul 2004 04:35:42 +0000 Subject: [PATCH] Mark 'makeup' in ng_frame_relay as const, as its values are immutable. --- sys/netgraph/ng_frame_relay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netgraph/ng_frame_relay.c b/sys/netgraph/ng_frame_relay.c index e6dcd728e6ed..b86a31bab130 100644 --- a/sys/netgraph/ng_frame_relay.c +++ b/sys/netgraph/ng_frame_relay.c @@ -99,7 +99,7 @@ typedef struct frmrel_softc *sc_p; #define LASTBYTE_D_C 0x02 /* last byte is dl_core or dlci info */ /* Used to do headers */ -static struct segment { +const static struct segment { u_char mask; u_char shift; u_char width;