summaryrefslogtreecommitdiff
path: root/net/sctp/ssnmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sctp/ssnmap.c')
-rw-r--r--net/sctp/ssnmap.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/net/sctp/ssnmap.c b/net/sctp/ssnmap.c
index 847ba4ca235f..e627d2b451b6 100644
--- a/net/sctp/ssnmap.c
+++ b/net/sctp/ssnmap.c
@@ -42,6 +42,9 @@
#define MAX_KMALLOC_SIZE 131072
+static struct sctp_ssnmap *sctp_ssnmap_init(struct sctp_ssnmap *map, __u16 in,
+ __u16 out);
+
/* Storage size needed for map includes 2 headers and then the
* specific needs of in or out streams.
*/
@@ -87,8 +90,8 @@ fail:
/* Initialize a block of memory as a ssnmap. */
-struct sctp_ssnmap *sctp_ssnmap_init(struct sctp_ssnmap *map, __u16 in,
- __u16 out)
+static struct sctp_ssnmap *sctp_ssnmap_init(struct sctp_ssnmap *map, __u16 in,
+ __u16 out)
{
memset(map, 0x00, sctp_ssnmap_size(in, out));