]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - net/sctp/associola.c
sctp: remove the typedef sctp_scope_t
[linux.git] / net / sctp / associola.c
index 40ec83679d6ef17b16d5b6e612058a3d0d7222e9..4c1f1bb2aaad1774a4b00d478985f4776ed59343 100644 (file)
@@ -63,11 +63,11 @@ static void sctp_assoc_free_asconf_queue(struct sctp_association *asoc);
 /* 1st Level Abstractions. */
 
 /* Initialize a new association from provided memory. */
-static struct sctp_association *sctp_association_init(struct sctp_association *asoc,
-                                         const struct sctp_endpoint *ep,
-                                         const struct sock *sk,
-                                         sctp_scope_t scope,
-                                         gfp_t gfp)
+static struct sctp_association *sctp_association_init(
+                                       struct sctp_association *asoc,
+                                       const struct sctp_endpoint *ep,
+                                       const struct sock *sk,
+                                       enum sctp_scope scope, gfp_t gfp)
 {
        struct net *net = sock_net(sk);
        struct sctp_sock *sp;
@@ -301,9 +301,8 @@ static struct sctp_association *sctp_association_init(struct sctp_association *a
 
 /* Allocate and initialize a new association */
 struct sctp_association *sctp_association_new(const struct sctp_endpoint *ep,
-                                        const struct sock *sk,
-                                        sctp_scope_t scope,
-                                        gfp_t gfp)
+                                             const struct sock *sk,
+                                             enum sctp_scope scope, gfp_t gfp)
 {
        struct sctp_association *asoc;
 
@@ -1564,7 +1563,7 @@ void sctp_assoc_rwnd_decrease(struct sctp_association *asoc, unsigned int len)
  * local endpoint and the remote peer.
  */
 int sctp_assoc_set_bind_addr_from_ep(struct sctp_association *asoc,
-                                    sctp_scope_t scope, gfp_t gfp)
+                                    enum sctp_scope scope, gfp_t gfp)
 {
        int flags;