X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fsctp%2Fssnmap.c;h=e627d2b451b608e35d5b285722ad83bc2552345f;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=847ba4ca235f249e23d22163e1f8a6654869a8c8;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/net/sctp/ssnmap.c b/net/sctp/ssnmap.c index 847ba4ca2..e627d2b45 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));