vserver 1.9.5.x5
[linux-2.6.git] / net / sctp / ssnmap.c
index 847ba4c..e627d2b 100644 (file)
@@ -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));