diff options
author | tuexen <tuexen@FreeBSD.org> | 2016-03-23 13:28:04 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2016-03-23 13:28:04 +0000 |
commit | 785250e758a6894d88aed2f96c5286dae61b3ca1 (patch) | |
tree | 58f31c3526e50abf690223a4722c4d21b70f7aa1 /sys/netinet/sctputil.c | |
parent | 6fee958d289745f0f52dcc0df16858cf7e093d5c (diff) | |
download | FreeBSD-src-785250e758a6894d88aed2f96c5286dae61b3ca1.zip FreeBSD-src-785250e758a6894d88aed2f96c5286dae61b3ca1.tar.gz |
Add const to several constants. Thanks to Nicholas Nethercote for
providing the patch via
https://bugzilla.mozilla.org/show_bug.cgi?id=1255655
MFC after: 1 week
Diffstat (limited to 'sys/netinet/sctputil.c')
-rw-r--r-- | sys/netinet/sctputil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/sctputil.c b/sys/netinet/sctputil.c index 4115256..11d7c7a 100644 --- a/sys/netinet/sctputil.c +++ b/sys/netinet/sctputil.c @@ -58,8 +58,8 @@ __FBSDID("$FreeBSD$"); #define KTR_SCTP KTR_SUBSYS #endif -extern struct sctp_cc_functions sctp_cc_functions[]; -extern struct sctp_ss_functions sctp_ss_functions[]; +extern const struct sctp_cc_functions sctp_cc_functions[]; +extern const struct sctp_ss_functions sctp_ss_functions[]; void sctp_sblog(struct sockbuf *sb, struct sctp_tcb *stcb, int from, int incr) |