summaryrefslogtreecommitdiffstats
path: root/sys/net/raw_cb.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-06-11 03:52:56 +0000
committerrwatson <rwatson@FreeBSD.org>2004-06-11 03:52:56 +0000
commit54cb112a38a1a061e29f91e15d708741944ce969 (patch)
tree08ba85f2edf04b319d32b1c63b403c549dc050ed /sys/net/raw_cb.c
parentfe59af8e6895df4848f3dcd78d7d52fc365245e7 (diff)
downloadFreeBSD-src-54cb112a38a1a061e29f91e15d708741944ce969.zip
FreeBSD-src-54cb112a38a1a061e29f91e15d708741944ce969.tar.gz
Constify raw_sendspace and raw_recvspace, as they're not mutable.
Diffstat (limited to 'sys/net/raw_cb.c')
-rw-r--r--sys/net/raw_cb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/raw_cb.c b/sys/net/raw_cb.c
index 2deda2a..eba5dc1 100644
--- a/sys/net/raw_cb.c
+++ b/sys/net/raw_cb.c
@@ -51,8 +51,8 @@
struct rawcb_list_head rawcb_list;
-static u_long raw_sendspace = RAWSNDQ;
-static u_long raw_recvspace = RAWRCVQ;
+const static u_long raw_sendspace = RAWSNDQ;
+const static u_long raw_recvspace = RAWRCVQ;
/*
* Allocate a control block and a nominal amount
OpenPOWER on IntegriCloud