summaryrefslogtreecommitdiffstats
path: root/sys/netgraph
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-07-12 04:35:42 +0000
committerrwatson <rwatson@FreeBSD.org>2004-07-12 04:35:42 +0000
commit5fb9f28d80e57fbad7faa5b49b66b4fd1f5f6063 (patch)
tree3c2bb92834f561143e71fd61fec6221bf45ed08b /sys/netgraph
parent8d63702565bd50e63f77d3c4d0281daa7865deca (diff)
downloadFreeBSD-src-5fb9f28d80e57fbad7faa5b49b66b4fd1f5f6063.zip
FreeBSD-src-5fb9f28d80e57fbad7faa5b49b66b4fd1f5f6063.tar.gz
Mark 'makeup' in ng_frame_relay as const, as its values are immutable.
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/ng_frame_relay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_frame_relay.c b/sys/netgraph/ng_frame_relay.c
index e6dcd72..b86a31b 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;
OpenPOWER on IntegriCloud